Changeset 2758


Ignore:
Timestamp:
09/03/10 21:01:18 (17 months ago)
Author:
seanschroeder
Message:

Implementing Mura Style integrations

Location:
branches/5.2.1/www
Files:
10 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2.1/www/tasks/widgets/ckeditor/config.js

    r2720 r2758  
    66CKEDITOR.editorConfig = function( config ) 
    77{ 
    8  
     8     
     9    config.startupFocus = 'false'; 
     10     
    911        //config.uiColor = '#AADC6E'; 
    1012        CKEditorBasePath=context + '/tasks/widgets'; 
     
    2022        config.format_h6 = { element : '' }; 
    2123         
    22         //config.stylesCombo_stylesSet = 'default:' + CKEditorBasePath + '/ckeditor/plugins/styles/styles/default.js' 
     24        // config.stylesCombo_stylesSet = 'default:' + '/[siteid]/includes/themes/[theme]/js/editor/styles.js' 
    2325         
    2426        config.templates_files = [ CKEditorBasePath + '/ckeditor/plugins/templates/templates/default.js' ]; 
     27    // config.templates_files = [ '/[siteid]/includes/themes/[theme]/js/editor/templates/default.js' ]; 
    2528        config.templates = 'default'; 
     29     
     30    // config.ignoreEmptyParagraph = 'false'; 
     31     
     32    /* Pasting into Editor Options */ 
     33    // config.forcePasteAsPlainText = 'true'; 
     34    config.pasteFromWordPromptCleanup = 'true'; 
     35    config.pasteFromWordNumberedHeadingToList = 'true'; 
     36    config.pasteFromWordRemoveFontStyles = 'true'; 
     37    config.pasteFromWordRemoveStyles = 'true'; 
     38 
    2639         
    2740        config.toolbar_Default = [ 
    2841                                                ['Source'], 
    29                                                 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker'], 
     42                                                ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'], 
    3043                                                ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], 
    3144                                                ['BidiLtr','BidiRtl'], 
    3245                                                ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], 
    33                                                 ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
     46                                                ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
    3447                                                ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
    3548                                                ['Link','Unlink','Anchor'], 
     
    4053        config.toolbar_Summary = [ 
    4154                                                                                ['Source'], 
    42                                                                                 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker'], 
     55                                                                                ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'], 
    4356                                                                                ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], 
    4457                                                                                ['BidiLtr','BidiRtl'], 
    4558                                                                                ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], 
    46                                                                                 ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
     59                                                                                ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
    4760                                                                                ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
    4861                                                                                ['Link','Unlink','Anchor'], 
    49                                                                                 ['Image','Flash','flvPlayer','-','Table','Rule','SpecialChar','PageBreak'], 
     62                                                                                ['Image','Flash','flvPlayer','-','Table','HorizontalRule','SpecialChar','PageBreak'], 
    5063                                                                                ['Selectlink','SelectComponent','Templates','-','Styles','Format','-','Maximize','ShowBlocks','-','About']       
    5164                                        ] ; 
     
    5366        config.toolbar_Form = [ 
    5467                                                                                ['Source'], 
    55                                                                                 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker'], 
     68                                                                                ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'], 
    5669                                                                                ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], 
    5770                                                                                ['BidiLtr','BidiRtl'], 
    5871                                                                                ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], 
    59                                                                                 ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
     72                                                                                ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
    6073                                                                                ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
    6174                                                                                ['Link','Unlink','Anchor'], 
     
    6679 
    6780        config.toolbar_Basic = [ 
    68                                                 ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink'] 
     81                                                ['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink'] 
    6982                                        ] ; 
    7083 
    7184        config.toolbar_htmlEditor = [ 
    72                                                 ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','Image'] 
     85                                                ['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink','-','Image'] 
    7386                                        ] ; 
    7487 
  • branches/5.2.1/www/tasks/widgets/ckeditor/skins/mura/dialog.css

    r2733 r2758  
    643643        border: 1px solid white; 
    644644} 
     645 
     646table.cke_dialog_contents table { 
     647        margin: 0 !important; 
     648} 
     649 
     650table.cke_dialog_contents table td { 
     651        vertical-align: top; 
     652        text-align: left; 
     653} 
Note: See TracChangeset for help on using the changeset viewer.