Open
Bug 911205
Opened 11 years ago
Updated 4 years ago
Content of nested contenteditable element is destroyed when deleting in outer contenteditable
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: pkoszulinski, Unassigned)
References
Details
Attachments
(1 file)
475 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130803193343
Steps to reproduce:
1. Open nested-contenteditable-delete.html.
2. Blocks with blue borders have contenteditable=false, those with green borders have contenteditable=true.
2. Start deleting text in paragraph 1.
Actual results:
Content of nested editable element was merged into the paragraph outside non-editable element.
E.g.:
<p>StartBar</p>
<div contenteditable="false"><h2 contenteditable="true"></h2>...
Similarly weird thing happens when backspacing in paragraph 2.
Expected results:
Either entire non-editable block should be deleted or at least deleting should be blocked like for the second blue block which does not have any nested editables.
This issue affects new CKEditor's feature on which we're currently working on: dev.ckeditor.com/ticket/9764
There's a similar ticket reported for Blink: https://code.google.com/p/chromium/issues/detail?id=238000 and a correct behaviour was proposed in https://code.google.com/p/chromium/issues/detail?id=238000#c26
Updated•11 years ago
|
Component: Untriaged → Editor
Product: Firefox → Core
Updated•11 years ago
|
Attachment #797874 -
Attachment mime type: text/plain → text/html
Updated•11 years ago
|
Blocks: contenteditable
Comment 1•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•