source: trunk/library/ckeditor/config.js @ 5417

Revision 5417, 2.2 KB checked in by gustavo, 12 years ago (diff)

Ticket #2462 - Melhorias na tela de composição de mensagens do ExpressoMail?

  • Property svn:executable set to *
Line 
1/*
2Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.html or http://ckeditor.com/license
4*/
5
6CKEDITOR.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;
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           
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
23           config.extraPlugins = 'richcombo,expresso,keystrokes,aspell';
24           config.tabSpaces = 4;
25                   config.disableNativeSpellChecker = false;
26           config.removePlugins = 'elementspath,scayt,menubutton';
27                   config.resize_enabled = false;
28           config.toolbarCanCollapse = false; 
29           config.toolbar_mail =
30           [
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']
33           ];
34
35           config.toolbar_signature =
36           [
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']
39           ];
40};
Note: See TracBrowser for help on using the repository browser.