码迷,mamicode.com
首页 > 其他好文 > 详细

ckeditor 插件

时间:2016-09-02 18:48:29      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:

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]
    }
});

 

ckeditor 插件

标签:

原文地址:http://www.cnblogs.com/aliblogs/p/5834203.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!