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

Revision 5081, 2.0 KB checked in by airton, 13 years ago (diff)

Ticket #2086 - Troca do atual editor de emails do expresso - Adicionando a biblioteca ckeditor

  • 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           config.font_defaultLabel = 'Arial';
14           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
18           config.extraPlugins = 'autogrow,richcombo,expresso,keystrokes,aspell';
19           config.tabSpaces = 4;
20                   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';
23           config.toolbarCanCollapse = false; 
24           config.toolbar_mail =
25           [
26                ['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']
28           ];
29
30           config.toolbar_signature =
31           [
32               ['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']
34           ];
35};
Note: See TracBrowser for help on using the repository browser.