码迷,mamicode.com
首页 > 其他好文 > 详细

请教下关于CKEditor富文本编辑框设置字体颜色的问题

时间:2016-11-24 11:59:56      阅读:362      评论:0      收藏:0      [点我收藏+]

标签:cleanup   https   key   bre   cto   format   flash   nts   asics   

CKEDITOR.editorConfig = function( config )
{
config.plugins = ‘about,a11yhelp,basicstyles,bidi,blockquote,clipboard,colorbutton,colordialog,contextmenu,dialogadvtab,div,elementspath,enterkey,entities,filebrowser,find,flash,floatingspace,font,format,forms,horizontalrule,htmlwriter,image,iframe,indentlist,indentblock,justify,language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastefromword,pastetext,preview,print,removeformat,resize,save,scayt,selectall,showblocks,showborders,smiley,sourcearea,specialchar,stylescombo,tab,table,tabletools,templates,toolbar,undo,wsc,wysiwygarea‘;
config.toolbarGroups = [
{ name: ‘document‘, groups: [ ‘mode‘, ‘document‘, ‘doctools‘ ] },
{ name: ‘clipboard‘, groups: [ ‘clipboard‘, ‘undo‘ ] },
{ name: ‘editing‘, groups: [ ‘find‘, ‘selection‘, ‘spellchecker‘ ] },
{ name: ‘forms‘ },
{ name: ‘links‘ },
{ name: ‘insert‘ },
‘/‘,
{ name: ‘basicstyles‘, groups: [ ‘basicstyles‘, ‘cleanup‘ ] },
{ name: ‘paragraph‘, groups: [ ‘list‘, ‘indent‘, ‘blocks‘, ‘align‘, ‘bidi‘ ] },
{ name: ‘styles‘ },
{ name: ‘colors‘ },
{ name: ‘tools‘ },
{ name: ‘others‘ },
{ name: ‘about‘ }
];
};

原文地址:https://zhidao.baidu.com/question/241519841297066324.html

请教下关于CKEditor富文本编辑框设置字体颜色的问题

标签:cleanup   https   key   bre   cto   format   flash   nts   asics   

原文地址:http://www.cnblogs.com/karila/p/6096901.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!