Change CKEditor toolbar dynamically

后端 未结 10 1715
猫巷女王i
猫巷女王i 2020-12-09 04:30

How do you change the CKEditor toolbar dynamically (without using a pre-defined toolbar)?

The CKEditor Developer\'s Guide only tells you how to set the toolbar durin

10条回答
  •  执笔经年
    2020-12-09 05:34

    Or:

       $(document).ready(function() {
          CKEDITOR.config.customConfig = 'configSimple';
       }); 
    
       //the configSimple.js file is the same folder with config.js
    

提交回复
热议问题