#3105: insertHtml and insertElement should agree on the result
-----------------------+----------------------------------------------------
Reporter: garry.yao | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: IE Webkit |
-----------------------+----------------------------------------------------
Changes (by garry.yao):
* keywords: => IE Webkit
Old description:
> Currently '''CKEDITOR.editor.insertHtml''' and
> '''CKEDITOR.editor.insertElement''' are having different results when the
> inserted element happened to be malformed or schema-violated, since
> 'insertHtml' is depending on native methods like ''pasteHtml'' , the
> result may vary from browser to browser.
New description:
Currently '''CKEDITOR.editor.insertHtml''' and
'''CKEDITOR.editor.insertElement''' are having different results when the
inserted element happened to be malformed or schema-violated.[[BR]]
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).
--
Comment:
The attached test case's result are different from FF to IE to Webkit.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3105#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac