[5081] | 1 | /*
|
---|
| 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
---|
| 3 | For licensing, see LICENSE.html or http://ckeditor.com/license
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | CKEDITOR.editorConfig = function( config )
|
---|
| 7 | {
|
---|
| 8 |
|
---|
| 9 | config.skin = 'office2003';
|
---|
| 10 | config.language= 'pt-br';
|
---|
| 11 | config.enterMode = CKEDITOR.ENTER_DIV;
|
---|
| 12 | config.shiftEnterMode= CKEDITOR.ENTER_P;
|
---|
[5135] | 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 |
|
---|
[5081] | 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' ;
|
---|
| 22 |
|
---|
[5135] | 23 | config.extraPlugins = 'richcombo,expresso,keystrokes,aspell';
|
---|
[5081] | 24 | config.tabSpaces = 4;
|
---|
[6483] | 25 | config.disableNativeSpellChecker = false;
|
---|
[5135] | 26 | config.removePlugins = 'elementspath,scayt,menubutton';
|
---|
[6483] | 27 | config.resize_enabled = true;
|
---|
[5081] | 28 | config.toolbarCanCollapse = false;
|
---|
| 29 | config.toolbar_mail =
|
---|
| 30 | [
|
---|
[5417] | 31 | ['SpellCheck','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Link','Unlink','Anchor','-','Find','Replace','-','Outdent','Indent','-','Table','HorizontalRule','SpecialChar','expAddImage','-','Maximize'], '/',
|
---|
| 32 | ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList','-','expSignature']
|
---|
[5081] | 33 | ];
|
---|
| 34 |
|
---|
| 35 | config.toolbar_signature =
|
---|
| 36 | [
|
---|
[5417] | 37 | ['SpellCheck','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Link','Unlink','Anchor','-','Outdent','Indent','-','Table','HorizontalRule','SpecialChar','-','Maximize'],'/',
|
---|
| 38 | ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList']
|
---|
[5081] | 39 | ];
|
---|
| 40 | };
|
---|