Ticket #3046: 3046_2.patch
File 3046_2.patch, 1001 bytes (added by , 14 years ago) |
---|
-
_source/plugins/list/plugin.js
122 122 && currentListItem.getLast().type == CKEDITOR.NODE_ELEMENT 123 123 && currentListItem.getLast().getAttribute( 'type' ) == '_moz' ) 124 124 currentListItem.getLast().remove(); 125 currentListItem.append ( doc.createElement( 'br' ));125 currentListItem.appendBogus(); 126 126 } 127 127 128 128 if ( currentListItem.getName() == paragraphName && currentListItem.$.firstChild ) … … 139 139 140 140 var currentListItemName = currentListItem.$.nodeName.toLowerCase(); 141 141 if ( !CKEDITOR.env.ie && currentListItemName == 'div' || currentListItemName == 'p' ) 142 currentListItem.append ( doc.createElement( 'br' ));142 currentListItem.appendBogus(); 143 143 retval.append( currentListItem ); 144 144 rootNode = null; 145 145 currentIndex++;