- selection.selectBookmarks( bms );\r
-\r
- // If the fixed block is blank and is already followed by a exitable\r
- // block, we should drop it and move to the exist block(#3684).\r
- var children = fixedBlock.getChildren(),\r
- count = children.count(),\r
- firstChild,\r
- whitespaceGuard = CKEDITOR.dom.walker.whitespaces( true ),\r
- previousElement = fixedBlock.getPrevious( whitespaceGuard ),\r
- nextElement = fixedBlock.getNext( whitespaceGuard ),\r
- enterBlock;\r
- if ( previousElement && previousElement.getName\r
- && !( previousElement.getName() in nonExitableElementNames ) )\r
- enterBlock = previousElement;\r
- else if ( nextElement && nextElement.getName\r
- && !( nextElement.getName() in nonExitableElementNames ) )\r
- enterBlock = nextElement;\r
-\r
- // Not all blocks are editable, e.g. <hr />, further checking it.(#3994)\r
- if( ( !count\r
- || ( firstChild = children.getItem( 0 ) ) && firstChild.is && firstChild.is( 'br' ) )\r
- && enterBlock\r
- && range.moveToElementEditStart( enterBlock ) )\r
+ // If the fixed block is blank and already followed by a exitable\r
+ // block, we should revert the fix. (#3684)\r
+ if( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )\r