Ticket #4786: 4786.patch
File 4786.patch, 881 bytes (added by , 13 years ago) |
---|
-
_source/plugins/domiterator/plugin.js
212 212 // loop. 213 213 if ( ( closeRange || isLast ) && range ) 214 214 { 215 var boundaryNodes = range.getBoundaryNodes(); 215 var boundaryNodes = range.getBoundaryNodes(), 216 startPath = new CKEDITOR.dom.elementPath( range.startContainer ); 216 217 217 218 // Drop the range if it only contains bookmark nodes, and is 218 219 // not because of the original collapsed range. (#4087,#4450) 219 if ( !this.range.collapsed220 if ( boundaryNodes.startNode.getParent().equals( startPath.blockLimit ) 220 221 && isBookmark( boundaryNodes.startNode ) && isBookmark( boundaryNodes.endNode ) ) 221 222 { 222 223 range = null;