首页 > 其他 > 详细

ckeditor 插件

时间:2016-09-02 18:45:25      阅读:170      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!