Changeset 5135 for trunk/library/ckeditor/config.js
- Timestamp:
- 11/03/11 13:26:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/ckeditor/config.js
r5081 r5135 11 11 config.enterMode = CKEDITOR.ENTER_DIV; 12 12 config.shiftEnterMode= CKEDITOR.ENTER_P; 13 config.font_defaultLabel = 'Arial'; 13 if(typeof(preferences) != 'undefined') 14 { 15 if(typeof(preferences.font_size_editor) != 'undefined') 16 config.fontSize_defaultLabel = preferences.font_size_editor.replace('pt',''); 17 if(typeof(preferences.font_family_editor) != 'undefined') 18 config.font_defaultLabel = preferences.font_family_editor; 19 } 20 14 21 config.fontSize_sizes = '8/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt' ; 15 // config.font_defaultLabel = 'Arial';16 // config.fontSize_defaultLabel = '12px';17 22 18 config.extraPlugins = ' autogrow,richcombo,expresso,keystrokes,aspell';23 config.extraPlugins = 'richcombo,expresso,keystrokes,aspell'; 19 24 config.tabSpaces = 4; 20 25 config.disableNativeSpellChecker = false; 21 // Remove the resize plugin, as it doesn't make sense to use it in conjunction with the AutoGrow plugin. 22 config.removePlugins = 'resize,scayt,menubutton,contextmenu'; 26 config.removePlugins = 'elementspath,scayt,menubutton'; 23 27 config.toolbarCanCollapse = false; 24 28 config.toolbar_mail = 25 29 [ 26 30 ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList','-','Undo','Redo','Link','Unlink','Anchor','-','Find','Replace','Outdent','Indent'], '/', 27 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','expAddImage','expSignature','SpellCheck' ]31 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','expAddImage','expSignature','SpellCheck','Maximize'] 28 32 ]; 29 33 … … 31 35 [ 32 36 ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList'], '/', 33 ['Undo','Redo','Link','Unlink','Anchor','-','Outdent','Indent','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','SpellCheck' ]37 ['Undo','Redo','Link','Unlink','Anchor','-','Outdent','Indent','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','SpellCheck','Maximize'] 34 38 ]; 35 39 };
Note: See TracChangeset
for help on using the changeset viewer.