Ticket #4087: 4087.patch
File 4087.patch, 2.4 KB (added by , 14 years ago) |
---|
-
_source/plugins/domiterator/plugin.js
204 204 if ( includeNode ) 205 205 range.setEndAt( currentNode, CKEDITOR.POSITION_AFTER_END ); 206 206 207 currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode ); 208 isLast = !currentNode; 209 207 210 // We have found a block boundary. Let's close the range and move out of the 208 211 // loop. 209 212 if ( ( closeRange || isLast ) && range ) … … 211 214 var boundaryNodes = range.getBoundaryNodes(), 212 215 startPath = new CKEDITOR.dom.elementPath( range.startContainer ), 213 216 endPath = new CKEDITOR.dom.elementPath( range.endContainer ); 217 218 // Drop the range if it only contains bookmark nodes.(#4087) 214 219 if ( boundaryNodes.startNode.equals( boundaryNodes.endNode ) 215 && boundaryNodes.startNode.getParent().equals( startPath.blockLimit ) 216 && boundaryNodes.startNode.type == CKEDITOR.NODE_ELEMENT && boundaryNodes.startNode.getAttribute( '_fck_bookmark' ) ) 220 && boundaryNodes.startNode.getParent().equals( startPath.blockLimit ) 221 && boundaryNodes.startNode.type == CKEDITOR.NODE_ELEMENT 222 && boundaryNodes.startNode.getAttribute( '_fck_bookmark' ) ) 223 { 217 224 range = null; 225 this._.nextNode = null; 226 } 218 227 else 219 228 break; 220 229 } … … 222 231 if ( isLast ) 223 232 break; 224 233 225 currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode );226 234 } 227 235 228 236 // Now, based on the processed range, look for (or create) the block to be returned. -
CHANGES.html
162 162 ckeditor2.html test case.</li> 163 163 <li><a href="http://dev.fckeditor.net/ticket/3989">#3989</a> : Host page horizontal scrolling a lot when on having righ-to-left direction.</li> 164 164 <li><a href="http://dev.fckeditor.net/ticket/4001">#4001</a> : Create link around existing image result incorrect.</li> 165 <li><a href="http://dev.fckeditor.net/ticket/4087">#4087</a> : [Firefox]Fixed extra blocks created on create list when full document selected.</li> 165 166 </ul> 166 167 <h3> 167 168 CKEditor 3.0 RC</h3>