Skip to content

Commit

Permalink
reapply our custom configs
Browse files Browse the repository at this point in the history
  don't show the full menu on page load
  hide buttons we never want people using
  showing context menus and using firefox spellchecking

git-svn-id: svn+ssh://svn.bestpractical.com/svn/bps-public/rt/3.8/branches/fckeditor-upgrade@15610 e417ac7c-1bcc-0310-8ffa-8f5827389a85
  • Loading branch information
jibsheet committed Aug 28, 2008
1 parent 830fe7d commit ebace5b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions share/html/NoAuth/RichText/FCKeditor/fckconfig.js
Expand Up @@ -87,7 +87,7 @@ FCKConfig.ForceSimpleAmpersand = false ;
FCKConfig.TabSpaces = 0 ;
FCKConfig.ShowBorders = true ;
FCKConfig.SourcePopup = false ;
FCKConfig.ToolbarStartExpanded = ;
FCKConfig.ToolbarStartExpanded = false ;
FCKConfig.ToolbarCanCollapse = true ;
FCKConfig.IgnoreEmptyParagraphValue = true ;
FCKConfig.FloatingPanelsZIndex = 10000 ;
Expand All @@ -99,16 +99,18 @@ FCKConfig.TemplateReplaceCheckbox = true ;
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'],
Expand Down Expand Up @@ -147,7 +149,7 @@ FCKConfig.Keystrokes = [
] ;

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 ;
Expand All @@ -163,7 +165,7 @@ FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
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 ;

Expand Down

0 comments on commit ebace5b

Please sign in to comment.