[Rt-commit] r12774 - in rt/branches/3.8-TESTING: share/html/NoAuth/RichText/FCKeditor
jesse at bestpractical.com
jesse at bestpractical.com
Fri May 30 17:44:02 EDT 2008
Author: jesse
Date: Fri May 30 17:44:02 2008
New Revision: 12774
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/share/html/NoAuth/RichText/FCKeditor/fckconfig.js
Log:
r32056 at 31b: jesse | 2008-05-30 14:46:46 -0400
* Switch to the silver theme for fckeditor
* Start fckeditor controls minimized
* Make sure no user can ever choose comic sans
Modified: rt/branches/3.8-TESTING/share/html/NoAuth/RichText/FCKeditor/fckconfig.js
==============================================================================
--- rt/branches/3.8-TESTING/share/html/NoAuth/RichText/FCKeditor/fckconfig.js (original)
+++ rt/branches/3.8-TESTING/share/html/NoAuth/RichText/FCKeditor/fckconfig.js Fri May 30 17:44:02 2008
@@ -42,7 +42,7 @@
FCKConfig.Debug = false ;
FCKConfig.AllowQueryStringDebug = true ;
-FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
+FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
@@ -81,7 +81,7 @@
FCKConfig.TabSpaces = 0 ;
FCKConfig.ShowBorders = true ;
FCKConfig.SourcePopup = false ;
-FCKConfig.ToolbarStartExpanded = true ;
+FCKConfig.ToolbarStartExpanded = false ;
FCKConfig.ToolbarCanCollapse = true ;
FCKConfig.IgnoreEmptyParagraphValue = true ;
FCKConfig.PreserveSessionOnFileBrowser = false ;
@@ -118,6 +118,7 @@
FCKConfig.EnterMode = 'p' ; // p | div | br
FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
+
FCKConfig.Keystrokes = [
[ CTRL + 65 /*A*/, true ],
[ CTRL + 67 /*C*/, true ],
@@ -137,9 +138,11 @@
[ CTRL + 85 /*U*/, 'Underline' ],
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
- [ CTRL + 9 /*TAB*/, 'Source' ]
] ;
+
+
+
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
FCKConfig.BrowserContextMenuOnCtrl = true ;
@@ -147,7 +150,7 @@
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
-FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
+FCKConfig.FontNames = 'Arial;Courier New;Tahoma;Times New Roman;Verdana' ;
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
More information about the Rt-commit
mailing list