I'm trying to use the Example 4 for integrating a Custom File Browser found here:
http://docs.cksource.com/CKEditor_3.x/D ... le_Browser
The code for reference is:
window.opener.CKEDITOR.tools.callFunction( funcNum, fileUrl, function() { // Get the reference to a dialog window. var element, dialog = this.getDialog(); // Check if this is the Image dialog window. if (dialog.getName() == 'image') { // Get the reference to a text field that holds the "alt" attribute. element = dialog.getContentElement( 'info', 'txtAlt' ); // Assign the new value. if ( element ) element.setValue( "alt text" ); } });
Re: Custom File Browser - Example 4 problem on IE
Re: Custom File Browser - Example 4 problem on IE
If you feel the example code contains a bug, could you please report it on the Development site, as described here? Our QA will then be able to check it and introduce necessary changes to the code. Thanks!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Custom File Browser - Example 4 problem on IE
Katy
Re: Custom File Browser - Example 4 problem on IE
Even if it turns out that there is no bug and the ticket will be closed, it's no big deal, it is always easier to track it on the Development site. And it is indeed possible that some sample code might not work in a new browser version as it was written a while ago and it's quite difficult to keep up with the ever-changing browser landscape
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Custom File Browser - Example 4 problem on IE
Thanks Anna, I have found that it is a confirmed bug already,
http://dev.ckeditor.com/ticket/8288
but am slightly confused about the suggested fix, as I can't get this to work. I will go back to the developer area and try to work it out properly. Thanks for your help
Re: Custom File Browser - Example 4 problem on IE
If you comment the ticket, you will be automatically notified about any changes in this area.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Custom File Browser - Example 4 problem on IE