From 4ef72623a14266f20e5940464732fbe8ac03eb5b Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Thu, 21 Dec 2006 10:00:01 +0100 Subject: [PATCH] [svn r10540] Add a Comment toolbar --- main/inc/lib/fckeditor/myconfig.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main/inc/lib/fckeditor/myconfig.js b/main/inc/lib/fckeditor/myconfig.js index f0c23f0d8e..cc08f99b41 100644 --- a/main/inc/lib/fckeditor/myconfig.js +++ b/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 ) ;