How to remove buttons from CKeditor 4

后端 未结 10 1482
难免孤独
难免孤独 2020-12-24 12:36

The question is in the title : How to remove buttons from CKeditor 4 .

Documentation does not answer it clearly

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-24 13:08

    To remove buttons, try:

    $(document).ready(function() {
       CKEDITOR.config.removePlugins = 'Save,Print,Preview,Find,About,Maximize,ShowBlocks';
    });
    

    The comma-separated list must contain the name of each button you want to remove. The following link is the complete list of the buttons containing the toolbar ckeditor:

    list-buttons

提交回复
热议问题