Ignore:
Timestamp:
11/03/11 13:26:45 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus. Library: bibliotecas de terceiros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/ckeditor/config.js

    r5081 r5135  
    1111           config.enterMode = CKEDITOR.ENTER_DIV; 
    1212           config.shiftEnterMode= CKEDITOR.ENTER_P; 
    13            config.font_defaultLabel = 'Arial'; 
     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            
    1421           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';  
    1722 
    18            config.extraPlugins = 'autogrow,richcombo,expresso,keystrokes,aspell'; 
     23           config.extraPlugins = 'richcombo,expresso,keystrokes,aspell'; 
    1924           config.tabSpaces = 4; 
    2025                   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'; 
     26           config.removePlugins = 'elementspath,scayt,menubutton'; 
    2327           config.toolbarCanCollapse = false;   
    2428           config.toolbar_mail = 
    2529           [  
    2630                ['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']  
     31                ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','expAddImage','expSignature','SpellCheck','Maximize']  
    2832           ]; 
    2933 
     
    3135           [  
    3236               ['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']  
     37               ['Undo','Redo','Link','Unlink','Anchor','-','Outdent','Indent','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Table','HorizontalRule','SpecialChar','SpellCheck','Maximize']  
    3438           ]; 
    3539}; 
Note: See TracChangeset for help on using the changeset viewer.