web/data/cubicweb.fckcwconfig.js
branchstable
changeset 3802 bc441a75f82c
parent 0 b97547f5f1fa
child 8040 fca7fc7f5db8
--- a/web/data/cubicweb.fckcwconfig.js	Sat Nov 07 18:38:52 2009 +0100
+++ b/web/data/cubicweb.fckcwconfig.js	Sat Nov 07 18:39:37 2009 +0100
@@ -1,34 +1,15 @@
-// cf /usr/share/fckeditor/fckconfig.js
-
-FCKConfig.AutoDetectLanguage	= false ;
-
-FCKConfig.ToolbarSets["Default"] = [
-    // removed : 'Save','NewPage','DocProps','-','Templates','-','Preview'
-	['Source'],
-    // removed: 'Print','-','SpellCheck'
-	['Cut','Copy','Paste','PasteText','PasteWord'],
-	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
-    //['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
-	'/',
-    // ,'StrikeThrough','-','Subscript','Superscript'
-	['Bold','Italic','Underline'],
-    // ,'-','Outdent','Indent','Blockquote'
-	['OrderedList','UnorderedList'],
-	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
-	['Link','Unlink','Anchor'],
-    // removed : 'Image','Flash','Smiley','PageBreak'
-	['Table','Rule','SpecialChar'],
-	'/',
-	['Style','FontFormat','FontName','FontSize'],
-	['TextColor','BGColor'],
-    //,'ShowBlocks'
-	['FitWindow','-','About']		// No comma for the last row.
-] ;
-
-// 'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Form',
-FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'] ;
-
-FCKConfig.LinkUpload = false ;
-FCKConfig.ImageUpload = false ;
-FCKConfig.FlashUpload = false ;
-
+
+FCKConfig.AutoDetectLanguage    = false ;
+
+FCKConfig.ToolbarSets["Default"] = [
+['Bold','Italic','Underline'],
+['OrderedList','UnorderedList'],
+['Link'],
+['Table']
+] ;
+// 'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Form',
+FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'] ;
+
+FCKConfig.LinkUpload = false ;
+FCKConfig.ImageUpload = false ;
+FCKConfig.FlashUpload = false ;