日期:2014-05-19  浏览次数:20497 次

FCKeditor的菜单设置问题
在fckconfig.js里把Basic的toobarSet改了一下
然后在aspx中指示fckeditor使用Basic的设置
但是最终效果是原来的设置而不是我更改之后的
同样对Default进行修改也是一样
这个应该怎么改啊?

------解决方案--------------------

------解决方案--------------------
再另起一个名字:如ljh,其余一样,也可删除几个就行了.
------解决方案--------------------
改这个文件:fckconfig.js

//FCKConfig.ToolbarSets[ "Default "] = [
// [ 'Source ', 'DocProps ', '- ', 'Save ', 'NewPage ', 'Preview ', '- ', 'Templates '],
// [ 'Cut ', 'Copy ', 'Paste ', 'PasteText ', 'PasteWord ', '- ', 'Print ', 'SpellCheck '],
// [ '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 ', '- ', 'About ']
//] ;

FCKConfig.ToolbarSets[ "Default "] = [
[ 'Cut ', 'Copy ', 'Paste ', 'PasteText ', 'PasteWord ', '- ', 'Print '],
[ 'Undo ', 'Redo ', '- ', 'Find ', 'Replace ', '- ', 'SelectAll ', 'RemoveFormat '],
[ 'Image ', 'Table ', 'Rule ', 'SpecialChar ', 'PageBreak '],
[ 'FitWindow '],
'/ ',
[ 'Bold ', 'Italic ', 'Underline ', 'StrikeThrough ', '- ', 'Subscript ', 'Superscript '],
[ 'OrderedList ', 'UnorderedList ', '- ', 'Outdent ', 'Indent '],
[ 'JustifyLeft ', 'JustifyCenter ', 'JustifyRight ', 'JustifyFull '],
[ 'TextColor ', 'BGColor '],
'/ ',
[ 'FontFormat ', 'FontName ', 'FontSize ']
] ;