Can I use CKEditor without a toolbar?

后端 未结 8 1508
迷失自我
迷失自我 2020-12-14 07:35

(Possible duplicate: CKEditor - No toolbars)

I\'d like to create a CKEditor instance without a toolbar. I tried defining an empty toolbar to use in the instance\'s c

相关标签:
8条回答
  • 2020-12-14 08:07

    In CKEditor 4.9.2:

    When you instanciate the editor, set toolbar option:

    CKEDITOR.replace( 'editor1', {
        ...
        toolbar: []
    });
    
    0 讨论(0)
  • 2020-12-14 08:09

    Add this this line in to config.js file

    config.removePlugins= 'toolbar'
    
    0 讨论(0)
提交回复
热议问题