insertHtml and insertElement should agree on the result
|Reported by:||garry.yao||Owned by:|
|Component:||General||Version:||3.0 Beta 2|
Description (last modified by garry.yao)
Currently CKEDITOR.editor.insertHtml and CKEDITOR.editor.insertElement are having different results when the inserted element happened to be malformed or schema-violated.
This is because insertHtml is depending some native methods like pasteHtml to perform revision, from which the result may vary from browser to browser. While insertElement is all about our own logic, which perform no revision at all( The revision logic is proposing at #3100 though).
Change History (6)
Changed 6 years ago by garry.yao
comment:3 Changed 6 years ago by alfonsoml
- Version changed from SVN (FCKeditor) to CKEditor 3.0 Beta 2