Search code examples
phpjavascriptwysiwyg

How to remove advanced tab from 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


Solution

  • 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'
    });