日期:2014-05-17  浏览次数:20433 次

第三方控件ckeditor怎么控制工具栏的图标显示啊?
就是顶部那排按钮!我只知道要在某个js文件中改,但具体操作就不知道了,请各位高手指教哈!

------解决方案--------------------
fckconfig.js里面

FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight', 'Link','Unlink','TextColor','BGColor','FontName','FontSize','Smiley']
] ;

等,里面可以删除的

如改成
FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','Smiley']
] ;
------解决方案--------------------
或者这样
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar

------解决方案--------------------
或者这样
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar

这个可以。
------解决方案--------------------
在fck代码config中配置

FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight', 'Link','Unlink','TextColor','BGColor','FontName','FontSize','Smiley']
] ;

如上面改成是去掉了'Bold'加粗字体

FCKConfig.ToolbarSets["Basic"] = [
['Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight', 'Link','Unlink','TextColor','BGColor','FontName','FontSize','Smiley']
] ;
------解决方案--------------------
config.toolbar_Full = 

['Source','-','Preview','-','Templates'], 
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'], 
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], 
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], 
'/', 
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], 
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
['Link','Unlink','Anchor'], 
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], 
'/', 
['Styles','Format','Font','FontSize'], 
['TextColor','BGColor'], 
['Maximize', 'ShowBlocks','-','About'] 
]; 
===============
把不该要的去掉就OK了
------解决方案--------------------
你的意思是想去掉某一些图标对么?你把不用的在那个文件里面注释掉就好了