How do I pass in config info to CKEditor using the jQuery adapter?

后端 未结 7 745
感动是毒
感动是毒 2021-02-05 06:49

I\'m using the latest CKeditor with jQuery adapter.

I have successfully got it to work, and display.

However, as I am completely new to CKeditor, how d

7条回答
  •  被撕碎了的回忆
    2021-02-05 07:39

    jQuery(function(){
            var config = {
                toolbar:
                [
                    ['Bold', 'Italic', 'Underline', '-', 'NumberedList', 'BulletedList', '-', 'Undo', 'Redo', '-', 'SelectAll'],
                    ['UIColor']
                ]
            };      
            jQuery('#textAreaElement').ckeditor(config);
        });
    

提交回复
热议问题