Ticket #6861: 6861.patch
File 6861.patch, 850 bytes (added by , 13 years ago) |
---|
-
_source/plugins/list/plugin.js
102 102 } 103 103 else if ( item.indent == Math.max( indentLevel, 0 ) + 1 ) 104 104 { 105 var listData = CKEDITOR.plugins.list.arrayToList( listArray, null, currentIndex, paragraphMode ); 105 // Maintain list root direction (#6861). 106 var rootNodeDir = rootNode.getDirection( 1 ), 107 listData = CKEDITOR.plugins.list.arrayToList( listArray, null, currentIndex, paragraphMode, 108 currentListItem.getDirection( 1 ) != rootNodeDir ? rootNodeDir: null ); 106 109 107 110 // If the next block is an <li> with another list tree as the first 108 111 // child, we'll need to append a filler (<br>/NBSP) or the list item