代码之家  ›  专栏  ›  技术社区  ›  David Lawson

从插件对话框中的SWF文件调用CKEditor中的函数

  •  0
  • David Lawson  · 技术社区  · 15 年前

    1 回复  |  直到 15 年前
        1
  •  0
  •   David Lawson    15 年前
    var functionNumber = CKEDITOR.tools.addFunction(function(url){
                this.insertHtml('<img src="'+url+'" />');
                CKEDITOR.dialog.getCurrent().click('cancel');
            }, editor);
    

    推荐文章