Opened 14 years ago
Last modified 14 years ago
#7206 new New Feature
Provide support to load CKEditor in one frame and render it in another
Reported by: | Teresa Monahan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IBM | Cc: | jamcunni@…, satya_minnekanti@… |
Description
We would like to request support to load CKEditor in one frame and render it in another. This would be a very beneficial feature for optimising performance. It is currently not supported. Some issues that they have reported so far regarding this are:
- CKEDITOR.tools.isArray() does not support multiple frames
- core/loader.js calls current document object
A sample test case is attached which demonstrates the desired functionality.
Instructions for running the test case:
- Copy the attached files to <CKEditor>\_samples directory.
- Open multiframe.html on Mozilla/Firefox.
- Press "Create Widgets" button.
- Verify CKEditor is created.
- Modify Widget_CKEditor.prototype.createEditorElem in multiframe.js like this:
// NG loader.oDocument = globals.scriptFrame.document; // OK //loader.oDocument = globals.uiFrame.document;
- Open multiframe.html on Mozilla/Firefox.
- Press "Create Widgets" button.
Problem: CKEditor instance is not created in UI Frame.
Attachments (1)
Change History (7)
Changed 14 years ago by
Attachment: | Multi Frame Sample.zip added |
---|
comment:1 Changed 14 years ago by
Cc: | monahant@… added |
---|---|
Keywords: | IBM added |
comment:2 Changed 14 years ago by
Cc: | monahant@… removed |
---|
comment:3 Changed 14 years ago by
Cc: | jamcunni@… added |
---|
comment:4 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|
comment:5 Changed 14 years ago by
comment:6 Changed 14 years ago by
With [6675], I've updated the tc so it uses the scriptFrame for the scripts. I've also made the necessary changes to make it work... well, at least the editor loads now, but still strongly broken, which indicates the strong research needed to eventually have this feature available any time.
I've just created the following branch, so further research can be made on this:
http://svn.ckeditor.com/CKEditor/branches/developers/ibm/7206