从插件对话框中的SWF文件调用CKEditor中的函数
在将图像添加到编辑器后关闭对话框的插件对话框中,如何从SWF文件调用CKEditor中的函数?从插件对话框中的SWF文件调用CKEditor中的函数,ckeditor,Ckeditor,在将图像添加到编辑器后关闭对话框的插件对话框中,如何从SWF文件调用CKEditor中的函数?var functionNumber=CKEditor.tools.addFunction(函数(url)){ var functionNumber = CKEDITOR.tools.addFunction(function(url){ this.insertHtml('<img src="'+url+'" />'); CKEDITOR.dia
var functionNumber=CKEditor.tools.addFunction(函数(url)){
var functionNumber = CKEDITOR.tools.addFunction(function(url){
this.insertHtml('<img src="'+url+'" />');
CKEDITOR.dialog.getCurrent().click('cancel');
}, editor);
本条插入TML(“”);
CKEDITOR.dialog.getCurrent()。单击('cancel');
}(编辑),;
然后将functionNumber发送到SWF,并在SWF内部使用callFunction发回,我已经制定了如下操作:ExternalInterface.call(“CKEDITOR.tools.callFunction(“??”);