Ticket #3105 (closed Bug: invalid)
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) (diff)
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).
- Version changed from SVN (FCKeditor) to CKEditor 3.0 Beta 2