insertHtml inserts only text from given element #3042
Labels
core
The issue is caused by the editor core code.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Type of report
Bug
Provide detailed reproduction steps (if any)
Extracted from #2987 (review)
CKEDITOR.instances.editor.insertHtml( '<div>foo</div>' )
Expected result
An actual
div
element is inserted.Actual result
Only text
foo
is insertedOther details
Following will work as expected inserting two nested divs:
CKEDITOR.instances.editor.insertHtml( '<div><div>foo<div></div>' )
The text was updated successfully, but these errors were encountered: