Open Bug 884106 Opened 11 years ago Updated 3 years ago

List elements duplicated on a paste from MS Word into a contenteditable element

Categories

(Core :: DOM: Editor, defect, P5)

21 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mozilla, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36

Steps to reproduce:

1. Create an ordered or an unordered list.
2. Inside an <li> of the list create a contenteditale="true" element.
3. When viewing this html as a page in FF, paste any text from MS Word into the contenteditable element.

jsfiddle showing the bug: http://jsfiddle.net/rand0mbits/KJtEB/2/


Actual results:

The <li> containing the contenteditable element is duplicated. If Ctrl-Z is pressed, both the new and the old <li> elements are removed completely.


Expected results:

Pasted text should appear in the contenteditable elemtn
Component: Untriaged → Layout
Product: Firefox → Core
Component: Layout → Editor

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.

Attachment

General

Created:
Updated:
Size: