Ticket #7221: 7221_2.patch
File 7221_2.patch, 884 bytes (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
365 365 var pathBlock = path.block || path.blockLimit, 366 366 lastNode = pathBlock && pathBlock.getLast( isNotEmpty ); 367 367 368 // In case it's not ended with block element and doesn't have bogus yet. (#7467) 368 // Check some specialities of the current path block: 369 // 1. It is really displayed as block; (#7221) 370 // 2. It doesn't end with one inner block; (#7467) 371 // 3. It doesn't have bogus br yet. 369 372 if ( pathBlock 373 && pathBlock.isBlockBoundary() 370 374 && !( lastNode && lastNode.type == CKEDITOR.NODE_ELEMENT && lastNode.isBlockBoundary() ) 371 375 && !pathBlock.is( 'pre' ) 372 376 && !pathBlock.getBogus() )