Ticket #6508: 6508.patch

File 6508.patch, 627 bytes (added by Tobiasz Cudnik, 13 years ago)
  • _source/plugins/indent/plugin.js

     
    398398                                {
    399399                                        if ( node.type == CKEDITOR.NODE_ELEMENT )
    400400                                        {
    401                                                 // A child with dir defined is to be ignored.
    402                                                 if ( !node.equals( e.data ) && node.hasAttribute( 'dir' ) )
     401                                                // A child with the defined dir is to be ignored.
     402                                                if ( !node.equals( e.data ) && node.getDirection() )
    403403                                                {
    404404                                                        range.setStartAfter( node );
    405405                                                        walker = new CKEDITOR.dom.walker( range );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy