FCKeditor 简化配置

snowpiaojuan 写道
如果我只想用编辑器里的"源代码","图像","falsh","超链接",这几个功能,其他的不用,也不让它们显示出来,要怎么弄呀?


fckconfig.js这个文件里面改

Java代码 复制代码
  1. FCKConfig.ToolbarSets["Default"] = [   
  2.     ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],   
  3.     ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],   
  4.     ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],   
  5.     ['OrderedList','UnorderedList','-','Outdent','Indent'],   
  6.     ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],   
  7.     ['Link','Unlink','Anchor','Image','Flash'],   
  8.     ['TextColor','BGColor','Table','Rule'],   
  9.     ['Style','FontFormat','FontName','FontSize']   
  10. ] ;  
FCKConfig.ToolbarSets["Default"] = [
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor','Image','Flash'],
	['TextColor','BGColor','Table','Rule'],
	['Style','FontFormat','FontName','FontSize']
] ;


删除不需要的

你可能感兴趣的:(fckeditor,Flash)