ckeditor 插件

dialog 下面 建立一个 插件.js   

CKEDITOR.dialog.add("about", function (a) {

    var aaa = "<form><input type='file' /><input type='submit' /></form>";



    a = a.lang.about;
    var b = CKEDITOR.getUrl(CKEDITOR.plugins.get("about").path + "dialogs/" + (CKEDITOR.env.hidpi ? "hidpi/" : "") + "logo_ckeditor.png");
    return {
        title: "asdfasd",
         minWidth: 390,
          minHeight: 230,
           contents: [{
            id: "tab1", label: "dddddddd", title: "aaaaaaaaaa", expand: !0, padding: 0, elements: [{
                type: "html",
                html: aaa
            }]
        }], buttons: [CKEDITOR.dialog.cancelButton,CKEDITOR.dialog.okButton]
    }
});
原文地址:https://www.cnblogs.com/aliblogs/p/5834203.html