FCKEditor ~ set Toolbar

如果想自訂自己的toolbar~

到FCKEditor資料夾修改fckconfig.js

FCKConfig.ToolbarSets["Default"] = [
['FitWindow','Cut','Copy','Paste','PasteText','PasteWord'],
['Undo','Redo','FontName','FontSize','TextColor','BGColor'],
'/',
['Bold','Italic','Underline','StrikeThrough'],
['OrderedList','UnorderedList','-'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink'],
['Image','Table','Smiley','SpecialChar'],
['About','-','Source'] // No comma for the last row.
] ;

如果要拿掉字型設定跟字型大小設定~

['Undo','Redo','FontName','FontSize','TextColor','BGColor'],

改成

['Undo','Redo','TextColor','BGColor'],

reference
http://www.dotblogs.com.tw/johnny/archive/2010/01/24/13242.aspx

沒有留言:

發佈留言