FCK默认工具栏目:

打开fckconfig.js
1. 自定义工具条按钮('-':分隔符 '/':换行)
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['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 ','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;
这里是默认的功能,根据自己实际情况修改一下
2. 改变工具条样式
FCK提供了三种样式(default,office2003,silver)
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/样式名/' ; -- 修改这一句就行
3. FCKeditor 2.1.1在ASP.NET中的设置和使用(ZT)
http://www.cnweblog.com/sundy/archive/2005/11/22/47293.html

打开fckconfig.js
1. 自定义工具条按钮('-':分隔符 '/':换行)
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['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','
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;
这里是默认的功能,根据自己实际情况修改一下
2. 改变工具条样式
FCK提供了三种样式(default,office2003,silver)
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/样式名/' ; -- 修改这一句就行
3. FCKeditor 2.1.1在ASP.NET中的设置和使用(ZT)
http://www.cnweblog.com/sundy/archive/2005/11/22/47293.html
浙公网安备 33010602011771号