Ticket #3656: 3656.patch
File 3656.patch, 894 bytes (added by , 16 years ago) |
---|
-
_source/core/dom/range.js
687 687 var startContainer = this.startContainer; 688 688 var startOffset = this.startOffset; 689 689 690 var endContainer = this.endContainer;691 var endOffset = this.endOffset;692 693 690 if ( !ignoreStart && startContainer && startContainer.type == CKEDITOR.NODE_TEXT ) 694 691 { 695 692 // If the offset is zero, we just insert the new node before … … 725 722 this.setStart( startContainer, startOffset ); 726 723 } 727 724 725 var endContainer = this.endContainer; 726 var endOffset = this.endOffset; 727 728 728 if ( !ignoreEnd && endContainer && !this.collapsed && endContainer.type == CKEDITOR.NODE_TEXT ) 729 729 { 730 730 // If the offset is zero, we just insert the new node before