[8246] | 1 | /**
|
---|
| 2 | * @license Copyright (c) 2003-2013, 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 | config.skin = 'moono_blue';
|
---|
| 9 | config.language= 'pt-br';
|
---|
| 10 | config.enterMode = CKEDITOR.ENTER_DIV;
|
---|
| 11 | config.shiftEnterMode= CKEDITOR.ENTER_P;
|
---|
| 12 | if(typeof(preferences) != 'undefined')
|
---|
| 13 | {
|
---|
| 14 | if(typeof(preferences.font_size_editor) != 'undefined')
|
---|
| 15 | config.fontSize_defaultLabel = preferences.font_size_editor.replace('pt','');
|
---|
| 16 | if(typeof(preferences.font_family_editor) != 'undefined')
|
---|
| 17 | config.font_defaultLabel = preferences.font_family_editor;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | 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' ;
|
---|
| 21 | //config.extraPlugins = 'richcombo,expresso,keystrokes,aspell';
|
---|
| 22 | config.extraPlugins = 'richcombo,expresso';
|
---|
| 23 | config.tabSpaces = 4;
|
---|
| 24 | config.disableNativeSpellChecker = false;
|
---|
| 25 | config.removePlugins = 'elementspath,scayt,menubutton,magicline';
|
---|
| 26 | config.resize_enabled = true;
|
---|
| 27 | config.toolbarCanCollapse = false;
|
---|
| 28 | config.toolbar_mail =
|
---|
| 29 | [
|
---|
| 30 | ['SpellCheck','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Link','Unlink','Anchor','-','Find','Replace','-','Outdent','Indent','-','Table','HorizontalRule','SpecialChar','expAddImage','-','Maximize'], '/',
|
---|
| 31 | ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList','-','expSignature']
|
---|
| 32 | ];
|
---|
| 33 |
|
---|
| 34 | config.toolbar_signature =
|
---|
| 35 | [
|
---|
| 36 | ['SpellCheck','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Link','Unlink','Anchor','-','Outdent','Indent','-','Table','HorizontalRule','SpecialChar','-','Maximize'],'/',
|
---|
| 37 | ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList']
|
---|
| 38 | ];
|
---|
| 39 | config.uiColor = '#c8d7ea';
|
---|
| 40 | config.allowedContent = true;
|
---|
| 41 | };
|
---|