Fix setStartOffset not appending (#526)
This commit is contained in:
parent
bdbe680f5c
commit
6eafdac362
@ -61,7 +61,7 @@ class TextSourceRange {
|
||||
const state = TextSourceRange.seekBackward(this.range.startContainer, this.range.startOffset, length);
|
||||
this.range.setStart(state.node, state.offset);
|
||||
this.rangeStartOffset = this.range.startOffset;
|
||||
this.content = state.content;
|
||||
this.content = state.content + this.content;
|
||||
return length - state.remainder;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user