Ticket #6117: 6117_2.patch

File 6117_2.patch, 817 bytes (added by Tobiasz Cudnik, 14 years ago)
  • _source/plugins/indent/plugin.js

     
    157157
    158158                                // Convert the array back to a DOM forest (yes we might have a few subtrees now).
    159159                                // And replace the old list with the new forest.
    160                                 var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, 0 );
     160                                var newListDir = listNode.getAttribute( 'dir' ) || listNode.getStyle( 'direction' );
     161                                var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, newListDir );
    161162
    162163                                // Avoid nested <li> after outdent even they're visually same,
    163164                                // recording them for later refactoring.(#3982)
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy