Ticket #6117: 6117_2.patch
File 6117_2.patch, 817 bytes (added by , 14 years ago) |
---|
-
_source/plugins/indent/plugin.js
157 157 158 158 // Convert the array back to a DOM forest (yes we might have a few subtrees now). 159 159 // 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 ); 161 162 162 163 // Avoid nested <li> after outdent even they're visually same, 163 164 // recording them for later refactoring.(#3982)