Changeset 3969
- Timestamp:
- 07/24/09 14:06:41 (4 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/domiterator/plugin.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r3968 r3969 183 183 <li><a href="http://dev.fckeditor.net/ticket/4101">#4101</a> : Now it is possible to close dialog before gets focus.</li> 184 184 <li><a href="http://dev.fckeditor.net/ticket/4075">#4075</a> : [IE6/7]Fixed apply custom inline style with "class" attribute failed.</li> 185 <li><a href="http://dev.fckeditor.net/ticket/4087">#4087</a> : [Firefox]Fixed extra blocks created on create list when full document selected.</li> 185 186 </ul> 186 187 <h3> -
CKEditor/trunk/_source/plugins/domiterator/plugin.js
r3930 r3969 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. … … 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; … … 223 232 break; 224 233 225 currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode );226 234 } 227 235
Note: See TracChangeset
for help on using the changeset viewer.
