Ticket #3422: 3422.patch
File 3422.patch, 713 bytes (added by , 15 years ago) |
---|
-
_source/plugins/domiterator/plugin.js
323 323 { 324 324 var lastChild = block.getLast(); 325 325 if ( lastChild && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.getName() == 'br' ) 326 lastChild.remove(); 326 { 327 // Take care not to remove the block expanding <br> in non-IE browsers. 328 if ( CKEDITOR.env.ie || lastChild.getPrevious() || lastChild.getNext() ) 329 lastChild.remove(); 330 } 327 331 } 328 332 329 333 // Get a reference for the next element. This is important because the