Ticket #3473: 3473_4.patch
File 3473_4.patch, 823 bytes (added by , 15 years ago) |
---|
-
_source/core/dom/element.js
242 242 while ( lastChild && lastChild.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.rtrim( lastChild.getText() ) ) 243 243 lastChild = lastChild.getPrevious(); 244 244 245 if ( !lastChild || ( lastChild.is && ( !lastChild.is( 'br' ) || !lastChild.getAttribute( '_cke_bogus' )) ) )245 if ( !lastChild || ( lastChild.is && !lastChild.is( 'br' ) ) ) 246 246 { 247 247 this.append( 248 248 CKEDITOR.env.opera ? 249 249 this.getDocument().createText('') : 250 this.getDocument().createElement( 'br' , { attributes : { _cke_bogus : 1 } }) );250 this.getDocument().createElement( 'br' ) ); 251 251 } 252 252 }, 253 253