我将FCK的工具条配置文件fckconfig.js修改了,删除了很多东西,就留一些简单的使用,但页面显示的时候,那些按钮还在,请问如何解决;
我下的版本是2.6.3,该部分修改代码如下FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Preview','-'],
['Cut','Copy','Paste','PasteText','PasteWord','-'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
] ;FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;
我调用的代码:<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" ToolbarSet="Default">
</FCKeditorV2:FCKeditor>
工具栏显示:
我下的版本是2.6.3,该部分修改代码如下FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Preview','-'],
['Cut','Copy','Paste','PasteText','PasteWord','-'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
] ;FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;
我调用的代码:<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" ToolbarSet="Default">
</FCKeditorV2:FCKeditor>
工具栏显示:
解决方案 »
- asp.net 页面间传值
- vs2008配置数据源问题,急!
- \u4e00\u54c1\u74e6\u7f50\u6c64\u9986
- asp.net 如何实现下次自动登录
- 从DataSet导出数据到Excel表中 数据列 如何在Excel表中按我的需求 自动排序好呢?
- 写如何的window.open不会被屏蔽?
- asp.net实现类似淘宝分类管理难吗
- asp.net + Flash?(界面设计问题)
- 怎么把DataGrid的列名改成中文?
- 怎样动态向webform上加入checkbox,然后取到其所有的数值?
- formview控件中如何显示下一个记录?
- vs2005_Express版数据库出现问题
删除'cut'就取消了剪切功能!