/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { config.skin = 'office2003'; config.language= 'pt-br'; config.enterMode = CKEDITOR.ENTER_DIV; config.shiftEnterMode= CKEDITOR.ENTER_P; if(typeof(preferences) != 'undefined') { if(typeof(preferences.font_size_editor) != 'undefined') config.fontSize_defaultLabel = preferences.font_size_editor.replace('pt',''); if(typeof(preferences.font_family_editor) != 'undefined') config.font_defaultLabel = preferences.font_family_editor; } 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' ; config.extraPlugins = 'richcombo,expresso,keystrokes,aspell'; config.tabSpaces = 4; config.disableNativeSpellChecker = false; config.removePlugins = 'elementspath,scayt,menubutton'; config.toolbarCanCollapse = false; config.toolbar_mail = [ ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList','-','Undo','Redo','Link','Unlink','Anchor','-','Find','Replace','Outdent','Indent'], '/', ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','expAddImage','expSignature','SpellCheck','Maximize'] ]; config.toolbar_signature = [ ['Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList'], '/', ['Undo','Redo','Link','Unlink','Anchor','-','Outdent','Indent','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','SpellCheck','Maximize'] ]; };