Ticket #7657: 7657.patch

File 7657.patch, 858 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/list/plugin.js

     
    363363                                contentBlock.appendTo( listItem );
    364364                        else
    365365                        {
    366                                 // Remove DIR attribute if it was merged into list root.
     366                                contentBlock.copyAttributes( listItem );
     367                                // Remove direction attribute after it was merged into list root. (#7657)
    367368                                if ( listDir && contentBlock.getDirection() )
    368369                                {
    369                                         contentBlock.removeStyle( 'direction' );
    370                                         contentBlock.removeAttribute( 'dir' );
     370                                        listItem.removeStyle( 'direction' );
     371                                        listItem.removeAttribute( 'dir' );
    371372                                }
    372 
    373                                 contentBlock.copyAttributes( listItem );
    374373                                contentBlock.moveChildren( listItem );
    375374                                contentBlock.remove();
    376375                        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy