修改配置文件fckconfig.js中的
FCKConfig.EnterMode = 'br' ; // p | div | br (回车)
FCKConfig.ShiftEnterMode = 'br' ; // p | div | br(shift+enter)
改变工具栏排列顺序:
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Preview','Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor','Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink']
] ;
本文作者:威我泛新 来源:http://kongjian.baidu.com/
CIO之家 www.ciozj.com 微信公众号:imciow