瀏覽代碼

[svn r10540] Add a Comment toolbar

Eric Marguin 18 年之前
父節點
當前提交
4ef72623a1
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      main/inc/lib/fckeditor/myconfig.js

+ 9 - 0
main/inc/lib/fckeditor/myconfig.js

@@ -39,10 +39,19 @@ FCKConfig.ToolbarSets["Small"] = [
 	['Bold','Italic','Underline','StrikeThrough','Link','Image','Flash','OrderedList','UnorderedList','Table']
 ] ;
 
+
+FCKConfig.ToolbarSets["Announcements"] = [
+	['Bold','Italic','Underline','StrikeThrough','Link','Image','OrderedList','UnorderedList','Table']
+] ;
+
 FCKConfig.ToolbarSets["Full"] = [
 	['Save','Templates','PasteWord','Link','-','Image','Flash','Video','MP3','Table','Rule','-','Subscript', 'Superscript','-','OrderedList','UnorderedList','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],'/',['FontName','FontSize','Bold','Italic','Underline','StrikeThrough','TextColor', 'BGColor','-','Source']
 ] ;
 
+FCKConfig.ToolbarSets["Comment"] = [
+	['Bold','Italic','Underline','StrikeThrough']
+] ;
+
 var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
 FCKConfig.Plugins.Add("MP3", "en,it", sOtherPluginPath ) ;
 FCKConfig.Plugins.Add("Video", "en,it", sOtherPluginPath ) ;