Opened 10 years ago

Last modified 10 years ago

#2970 closed Task

Refactor CKEDITOR.dom.documentFragment — at Version 2

Reported by: Garry Yao Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Review+ Cc:

Description (last modified by Garry Yao)

Current implementation of documentFragment has been ported from V2 for IE 5.5 support, which have dropped for V3. We could now replace those IE hacks with standard support of native documentFragment.

Reference

Sitepoint

Change History (3)

comment:1 in reply to:  description Changed 10 years ago by Frederico Caldeira Knabben

Replying to garry.yao:

  • Make CKEDITOR.dom.element.createFromHtml return documentFragment

No! CKEDITOR.dom.element.createFromHtml is there to create an element. If we think it will be needed we can add a similar hybrid function to CKEDITOR.dom.node or a specific one to CKEDITOR.dom.documentFragment. But we are not using it for now, so no additions.

comment:2 Changed 10 years ago by Garry Yao

Description: modified (diff)

Remove unnecessary proposed changes.

Changed 10 years ago by Garry Yao

Attachment: 2970.patch added
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy