Ticket #6670: 6670_2.patch

File 6670_2.patch, 608 bytes (added by Tobiasz Cudnik, 13 years ago)
  • _source/plugins/bidi/plugin.js

     
    4848        {
    4949                var editor = evt.editor,
    5050                        chromeRoot = editor.container.getChild( 1 ),
    51                         directionNode = getElementForDirection( evt.data.path.lastElement );
     51                        directionNode = evt.data.path.block || evt.data.path.blockLimit;
    5252
    5353                if ( directionNode && editor.lang.dir != directionNode.getComputedStyle( 'direction' ) )
    5454                        chromeRoot.addClass( 'cke_mixed_dir_content' );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy