Ticket #4835: 4835_2.patch

File 4835_2.patch, 2.7 KB (added by Garry Yao, 14 years ago)
  • _source/skins/kama/mainui.css

     
    1818        padding: 5px;
    1919}
    2020
     21.cke_skin_kama span.cke_browser_webkit
     22{
     23        display: block;
     24}
     25
    2126.cke_skin_kama .cke_wrapper
    2227{
    2328        -moz-border-radius: 5px;
  • _source/plugins/maximize/plugin.js

     
    114114                                        editorFocus : false,
    115115                                        exec : function()
    116116                                        {
    117                                                 var container = editor.container.getChild( [ 0, 0 ] );
     117                                                var container = editor.container.getChild( 0 );
    118118                                                var contents = editor.getThemeSpace( 'contents' );
    119119
    120120                                                // Save current selection and scroll position in editing area.
  • _source/skins/v2/mainui.css

     
    1717        display: block;
    1818}
    1919
     20.cke_skin_v2 span.cke_browser_webkit
     21{
     22        display: block;
     23}
     24
    2025.cke_skin_v2 .cke_wrapper
    2126{
    2227        display: block;
  • _source/themes/default/theme.js

     
    276276        if ( numberRegex.test( width ) )
    277277                width += 'px';
    278278
    279         var contents = CKEDITOR.document.getById( 'cke_contents_' + this.name );
    280         var outer = resizeInner ? contents.getAscendant( 'table' ).getParent()
    281                 : contents.getAscendant( 'table' ).getParent().getParent().getParent();
     279        var container = this.container,
     280                contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
     281                outer = resizeInner ? container.getChild( 0 ) : container;
    282282
    283283        // Resize the width first.
    284284        // WEBKIT BUG: Webkit requires that we put the editor off from display when we
     
    302302
    303303CKEDITOR.editor.prototype.getResizable = function()
    304304{
    305         return this.container.getChild( [ 0, 0 ] );
     305        return this.container.getChild( 0 );
    306306};
    307307
    308308/**
  • _source/skins/office2003/mainui.css

     
    1212        width: 100%;
    1313}
    1414
     15.cke_skin_office2003 span.cke_browser_webkit
     16{
     17        display: block;
     18}
     19
    1520.cke_skin_office2003,
    1621.cke_skin_office2003 .cke_wrapper
    1722{
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy