Config.js Configuration for Personal CKEditor

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.