Ticket #7074: 7074.patch
File 7074.patch, 960 bytes (added by , 13 years ago) |
---|
-
_source/plugins/styles/plugin.js
519 519 // if this is the last node in its parent, we must also 520 520 // check if the parent itself can be added completelly 521 521 // to the range, otherwise apply the style immediately. 522 while ( applyStyle = !includedNode.getNext( notBookmark)522 while ( ( applyStyle = !includedNode.getNext( notBookmark ) ) 523 523 && ( parentNode = includedNode.getParent(), dtd[ parentNode.getName() ] ) 524 524 && ( parentNode.getPosition( firstNode ) | CKEDITOR.POSITION_FOLLOWING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_FOLLOWING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) 525 525 && ( !def.childRule || def.childRule( parentNode ) ) )