Browse Source

[svn r10540] Add a Comment toolbar

Eric Marguin 18 years ago
parent
commit
4ef72623a1
1 changed files with 9 additions and 0 deletions
  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 ) ;