Open Bug 983041 Opened 7 years ago Updated 7 years ago

contenteditable html paste breaks content

Categories

(Core :: DOM: Editor, defect)

27 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: xxliquidbeastxx, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36

Steps to reproduce:

Go to: http://zethos.zolmeister.com/
Copy first two paragraphs from: http://en.wikipedia.org/wiki/Wikipedia
Paste content into the input box


Actual results:

Contenteditable element is cloned (and original content split), and pasted content is sandwiched between them.


Expected results:

The content is embedded within the contenteditable element. (See Chrome)
Component: Untriaged → Editor
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.