Ticket #3780: 3780.patch
File 3780.patch, 518 bytes (added by , 15 years ago) |
---|
-
_source/core/dom/range.js
620 620 } 621 621 } 622 622 623 // Sometimes the endNode will come right before startNode for collapsed 624 // ranges. Fix it. (#3780) 625 if ( startNode.getPosition( endNode ) & CKEDITOR.POSITION_FOLLOWING ) 626 startNode = endNode; 627 623 628 return { startNode : startNode, endNode : endNode }; 624 629 }, 625 630