Ticket #2984: 2984.patch

File 2984.patch, 2.5 KB (added by Frederico Caldeira Knabben, 14 years ago)
  • _source/plugins/toolbar/plugin.js

     
    112112                                                                toolbarId = 'cke_' + CKEDITOR.tools.getNextNumber(),
    113113                                                                toolbarObj = { id : toolbarId, items : [] };
    114114
     115                                                        if ( row === '/' )
     116                                                        {
     117                                                                output.push( '<div class="cke_break"></div>' );
     118                                                                continue;
     119                                                        }
     120
    115121                                                        output.push( '<div id="', toolbarId, '" class="cke_toolbar">' );
    116122
    117123                                                        // Add the toolbar to the "editor.toolbox.toolbars"
     
    205211 */
    206212CKEDITOR.config.toolbar =
    207213[
    208         [
    209                 'Source', '-',
    210                 'NewPage', 'Preview', 'Templates', 'Print', '-',
    211                 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-',
    212                 'Undo', 'Redo', '-',
    213                 'Find', 'Replace', '-',
    214                 'Bold', 'Italic', 'Underline', 'Strike', '-',
    215                 'NumberedList', 'BulletedList', '-',
    216                 'Outdent', 'Indent', 'Blockquote', '-',
    217                 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-',
    218                 'Subscript', 'Superscript', '-',
    219                 'SelectAll', 'RemoveFormat', '-',
    220                 'Link', 'Unlink', 'Anchor', '-',
    221                 'Image', 'Flash', '-',
    222                 'Table', 'Smiley', 'HorizontalRule', 'SpecialChar', 'PageBreak', '-',
    223                 'ShowBlocks', '-',
    224                 'Format'
    225         ]
     214        ['Source','-','NewPage','Preview','-','Templates'],
     215        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
     216        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
     217        '/',
     218        ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
     219        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
     220        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
     221        ['Link','Unlink','Anchor'],
     222        ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
     223        '/',
     224        ['Format'],
     225        ['ShowBlocks']
    226226];
  • _source/skins/default/toolbar.css

     
    1313
    1414.cke_skin_default .cke_toolbar
    1515{
    16         padding: 5px;
     16        padding-top: 1px;
     17        padding-bottom: 1px;
    1718        display:inline-block;
     19        float:left;
    1820}
    1921
    2022.cke_skin_default .cke_separator
     
    3133        float:right;
    3234}
    3335
     36.cke_skin_default .cke_break
     37{
     38        float:left;
     39        clear:left;
     40}
     41
    3442.cke_skin_default a.cke_button
    3543{
    3644        border: solid 1px #efefde;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy