Ticket #7467: 7467.patch
File 7467.patch, 854 bytes (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
366 366 activateEditing( editor ); 367 367 368 368 // Ensure bogus br could help to move cursor (out of styles) to the end of block. (#7041) 369 var pathBlock = path.block || path.blockLimit; 370 if ( pathBlock && !pathBlock.getBogus() ) 369 var pathBlock = path.block || path.blockLimit, 370 lastNode = pathBlock && pathBlock.getLast( isNotEmpty ); 371 372 // In case it's not ended with block element and doesn't have bogus yet. (#7467) 373 if ( pathBlock && !( lastNode && lastNode.isBlockBoundary() ) && !pathBlock.getBogus() ) 371 374 { 372 375 editor.fire( 'updateSnapshot' ); 373 376 restoreDirty( editor );