Ticket #4003: 4003.patch

File 4003.patch, 1.4 KB (added by Tobiasz Cudnik, 15 years ago)
  • _source/skins/office2003/skin.js

     
    4646                                return;
    4747
    4848                        // Fix the size of the elements which have flexible lengths.
    49                         setTimeout( function()
     49                        var fixSize = function()
    5050                                {
    5151                                        var content = dialog.parts.contents,
    5252                                                body = content.getParent(),
     
    6767                                        // mr
    6868                                        el = innerDialog.getChild( 5 );
    6969                                        el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
    70                                 },
    71                                 100 );
     70                                };
     71                        setTimeout( fixSize, 100 );
     72
     73                        // Ensure size is correct for RTL mode. (#4003)
     74                        if ( evt.editor.lang.dir == 'rtl' )
     75                                setTimeout( fixSize, 1000 );
    7276                });
    7377}
  • CHANGES.html

     
    178178                        <li><a href="http://dev.fckeditor.net/ticket/4094">#4094</a> : Smiley plugin file</li>
    179179                </ul></li>
    180180                <li><a href="http://dev.fckeditor.net/ticket/4085">#4085</a> : Paste and Paste from Word dialogs were not well styled in IE+RTL.</li>
     181                <li><a href="http://dev.fckeditor.net/ticket/4003">#4003</a> : Markup on the image dialog was disrupted when removing the border input.</li>
    181182        </ul>
    182183        <h3>
    183184                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy