Ckeditor.editorconfig =function(config) {config.toolbar= ' Full '; Config.height= 380; Config.toolbar_full= [ [' Bold ', ' Italic ', ' underline '], [' Numberedlist ', ' BulletedList '], [' Link ', ' Unlink '], [' Image '], [' Font ', ' FontSize '], [' TextColor ', ' BGColor '], [' Justifyleft ', ' justifycenter ', ' justifyright '], [' Source '], [' Replace '], [' Maximize '] ]; Config.resize_enabled=false;//no drag and drop to change sizeConfig.removeplugins = ' Elementspath ';//Delete Bottom Barconfig.image_previewtext= ";//empty the contents of the image upload previewConfig.filebrowseruploadurl = "*********";//Image Upload InterfaceConfig.extraplugins = ' Wordcount,notification,notificationaggregator ';//other plugins: word count, hint informationConfig.wordcount ={showparagraphs:false,//Whether to count the number of paragraphsshowwordcount:false,//Whether to count the number of wordsshowcharcount:true,//whether the number of characters is countedcountspacesaschars:false,//whether to count spatial charactersCounthtml:false,//whether to count the number of characters that include HTML charactersmaxwordcount:-1,//Maximum allowable number of words, 1 means no limitmaxcharcount:500,//Maximum allowable characters, 1 means no limitfilter:NewCKEDITOR.htmlParser.filter ({//add filter before adding or removing elements count (CKEDITOR.htmlParser.filter), default value: null (no filter)elements: {div:function(element) {if(element.attributes.class = = ' mediaembed ') { return false; } } } }) }; //Add Chinese fontconfig.font_names= "song body/simsun;/nsimsun; Imitation _gb2312/fangsong_gb2312; italics _gb2312/kaiti_gb2312; blackbody/simhei; Microsoft 雅黑/ Microsoft yahei;/youyuan; Chinese colorful cloud/stcaiyun; Chinese xingkai/stxingkai; founder Shu body/fzshuti; founder arial/fzyaoti; " +config.font_names;};
Config.js Configuration for Personal CKEditor