- if ( ( closeRange || isLast ) && range )\r
- {\r
- var boundaryNodes = range.getBoundaryNodes(),\r
- startPath = new CKEDITOR.dom.elementPath( range.startContainer );\r
-\r
- // Drop the range if it only contains bookmark nodes, and is\r
- // not because of the original collapsed range. (#4087,#4450)\r
- if ( boundaryNodes.startNode.getParent().equals( startPath.blockLimit )\r
- && isBookmark( boundaryNodes.startNode ) && isBookmark( boundaryNodes.endNode ) )\r
- {\r
- range = null;\r
- this._.nextNode = null;\r
- }\r
- else\r