[Rt-commit] r15610 - in rt/3.8/branches/fckeditor-upgrade: share/html/NoAuth/RichText/FCKeditor

falcone at bestpractical.com falcone at bestpractical.com
Thu Aug 28 18:48:52 EDT 2008


Author: falcone
Date: Thu Aug 28 18:48:52 2008
New Revision: 15610

Modified:
   rt/3.8/branches/fckeditor-upgrade/   (props changed)
   rt/3.8/branches/fckeditor-upgrade/share/html/NoAuth/RichText/FCKeditor/fckconfig.js

Log:
 r39151 at ketch:  falcone | 2008-08-28 18:46:24 -0400
 * reapply our custom configs
   don't show the full menu on page load
   hide buttons we never want people using
   showing context menus and using firefox spellchecking


Modified: rt/3.8/branches/fckeditor-upgrade/share/html/NoAuth/RichText/FCKeditor/fckconfig.js
==============================================================================
--- rt/3.8/branches/fckeditor-upgrade/share/html/NoAuth/RichText/FCKeditor/fckconfig.js	(original)
+++ rt/3.8/branches/fckeditor-upgrade/share/html/NoAuth/RichText/FCKeditor/fckconfig.js	Thu Aug 28 18:48:52 2008
@@ -87,7 +87,7 @@
 FCKConfig.TabSpaces		= 0 ;
 FCKConfig.ShowBorders	= true ;
 FCKConfig.SourcePopup	= false ;
-FCKConfig.ToolbarStartExpanded	= ;
+FCKConfig.ToolbarStartExpanded	= false ;
 FCKConfig.ToolbarCanCollapse	= true ;
 FCKConfig.IgnoreEmptyParagraphValue = true ;
 FCKConfig.FloatingPanelsZIndex = 10000 ;
@@ -99,16 +99,18 @@
 FCKConfig.ToolbarLocation = 'In' ;
 
 FCKConfig.ToolbarSets["Default"] = [
-	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
+//	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
+	['Source','DocProps','-','Preview','-','Templates'],
 	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
 	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
-	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
+//	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
 	'/',
 	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
 	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
 	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 	['Link','Unlink','Anchor'],
-	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
+//	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
+	['Table','Rule','SpecialChar','PageBreak'],
 	'/',
 	['Style','FontFormat','FontName','FontSize'],
 	['TextColor','BGColor'],
@@ -147,7 +149,7 @@
 ] ;
 
 FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
-FCKConfig.BrowserContextMenuOnCtrl = false ;
+FCKConfig.BrowserContextMenuOnCtrl = true ;
 FCKConfig.BrowserContextMenu = false ;
 
 FCKConfig.EnableMoreFontColors = true ;
@@ -163,7 +165,7 @@
 FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
 FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
 FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
-FCKConfig.FirefoxSpellChecker	= false ;
+FCKConfig.FirefoxSpellChecker	= true ;
 
 FCKConfig.MaxUndoLevels = 15 ;
 


More information about the Rt-commit mailing list