Changeset 4737
- Timestamp:
- 12/16/09 23:05:17 (3 years ago)
- Location:
- CKEditor/trunk/_source
- Files:
-
- 2 edited
-
core/dom/range.js (modified) (2 diffs)
-
plugins/domiterator/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/core/dom/range.js
r4734 r4737 1619 1619 { 1620 1620 isEditable = el.isEditable(); 1621 1621 1622 1622 // If an editable element is found, move inside it. 1623 1623 if ( isEditable ) … … 1632 1632 // Non-editable non-inline elements are to be bypassed, getting the next one. 1633 1633 if ( CKEDITOR.dtd.$empty[ el.getName() ] ) 1634 el = el.getNext( nonWhitespaceOrBookmarkEval ); 1634 el = el.getNext( nonWhitespaceOrBookmarkEval ); 1635 1635 else 1636 el = el.getFirst( nonWhitespaceOrBookmarkEval ); 1637 1636 el = el.getFirst( nonWhitespaceOrBookmarkEval ); 1637 1638 1638 // Stop immediately if we've found a text node. 1639 1639 if ( el && el.type == CKEDITOR.NODE_TEXT ) -
CKEditor/trunk/_source/plugins/domiterator/plugin.js
r4736 r4737 218 218 // Drop the range if it only contains bookmark nodes, and is 219 219 // not because of the original collapsed range. (#4087,#4450) 220 if ( boundaryNodes.startNode.getParent().equals( startPath.blockLimit ) 220 if ( boundaryNodes.startNode.getParent().equals( startPath.blockLimit ) 221 221 && isBookmark( boundaryNodes.startNode ) && isBookmark( boundaryNodes.endNode ) ) 222 222 {
Note: See TracChangeset
for help on using the changeset viewer.
