[Webkit-unassigned] [Bug 124765] New: Select all is broken when non-editable block is first/last child of contenteditable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 22 02:41:08 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=124765
Summary: Select all is broken when non-editable block is
first/last child of contenteditable
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://dev.ckeditor.com/ticket/11180
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aleksander at nowodzinski.pl
Steps to reproduce the problem:
1. Focus contenteditable with non-editable **block** as a first/last child.
2. Put caret in some editable paragraph next to non-editable block.
3. Press CTRL+A (or document.execCommand( 'SelectAll' ))
4. Nothing is selected: collapsed selection opposite to the non-editable block.
(!) See attached sample for rich examples.
Instead of containing all the contents of contenteditable, the selection gets collapsed opposite to non-editable block e.g. when non-editable block is first child, the selection goes to the end of contenteditable (and vice-versa). The entire content of contenteditable should be selected once CTRL+A is pressed. It works when **inline** non-editable element is first/last child.
I'm able to reproduce it in latest Safari, Chrome, Chromium and Opera. This bug is critical for CKEditor (http://dev.ckeditor.com/ticket/11180) and other WYSIWYG HTML editors.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list