Hi there,
How would I go about calling a function in CKEditor from a SWF file in a plugin dialog that closes the dialog after adding an image to the editor?
Hi there,
How would I go about calling a function in CKEditor from a SWF file in a plugin dialog that closes the dialog after adding an image to the editor?
var functionNumber = CKEDITOR.tools.addFunction(function(url){
this.insertHtml('<img src="'+url+'" />');
CKEDITOR.dialog.getCurrent().click('cancel');
}, editor);
then send that functionNumber to the SWF to send back with callFunction