﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13703	Pressing backspace near (but not next to) widget selects it.	Dusty Jewett	Tade0	"== Steps to reproduce ==

1. Open Placeholder demo
2. Select all text, delete it
3. Type 'Testing '
4. click placeholder button
5. hit right arrow, as placeholder is selected (boo)
6. hit Enter
7. type a letter
8. press left arrow key
9. press backspace

== Expected result ==
Paragraphs are merged together, as they are when no widget is present

== Actual result ==
Widget is selected, paragraphs don't change.

== Other details (browser, OS, CKEditor version, installed plugins) ==
4.5.x, Chrome


== Investigation ==
The issue happens inside of selection.js#getOnKeyDownListener, where it checks for getPreviousEditableNode.  It finds the widget, but assumes that the backspace key would have deleted the widget.  Instead, it should check if the text and widget are adjacent, maybe with next.getParent().contains(range.startContainer)?"	Bug	assigned	Nice to have (we want to work on it)		Core : Selection	4.3		Support	
