Opened 15 years ago
Last modified 15 years ago
#4445 closed New Feature
Support callback param for CKEDITOR.editor::setData — at Version 1
Reported by: | Garry Yao | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.1 |
Component: | General | Version: | |
Keywords: | Confirmed Review+ | Cc: |
Description (last modified by )
In order to comply with the asynchronous nature of 'setData' in wysiwyg mode, the user need to listen for a internal "contentDom" event for the very early access to a fully loaded document, we should provide a simpler form API like editor.setData( data, callback ).
Correspondingly, the 'afterSetData' event which already existed now should be fired right before we invoke this callback function, so user could make their choice between these two approaches.
Change History (2)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Owner: | set to Garry Yao |
Status: | new → assigned |
Changed 15 years ago by
Attachment: | 4445.patch added |
---|
Tidied up the description a bit.