drnycqxwz63508434 2012-09-27 23:05
浏览 135
已采纳

如何从CKEditor - WYSIWYG中删除高级选项卡

The wysiwyg-editor from http://CKEditor.com has too many buttons and is cluttored for many users. so I decided to remove unnecessary tabs and button. So I would like to remove the Advanced tab from the image uploader. Any suggestion how to do it?

enter image description here

  • 写回答

3条回答 默认 最新

  • dpvp56187 2012-09-28 20:12
    关注

    It appears there are two methods of doing this;

    1: Edit your CKEditor config definition(config.js):

    config.removeDialogTabs = 'image:advanced';
    

    Remember; the config setting is case-sensitive.

    2: You can of course also do this in-line so you can refer to it by editor:

    CKEDITOR.replace( 'editor_kama',
    {  //                  ^---Editor Id goes here
        removeDialogTabs : 'image:advanced'
    });
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?