Ticket #6625: 6625.patch
File 6625.patch, 758 bytes (added by , 13 years ago) |
---|
-
_source/plugins/list/plugin.js
119 119 { 120 120 currentListItem = doc.createElement( paragraphName ); 121 121 item.element.copyAttributes( currentListItem, { type:1, value:1 } ); 122 dir && currentListItem.setAttribute( 'dir', dir ); 122 var itemDir = item.element.getDirection() || dir; 123 itemDir && 124 currentListItem.setAttribute( 'dir', itemDir ); 123 125 124 126 // There might be a case where there are no attributes in the element after all 125 127 // (i.e. when "type" or "value" are the only attributes set). In this case, if enterMode = BR,