fix github issue #4
This commit is contained in:
parent
5b8ca67333
commit
ec9796f329
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ var Document = function(text, mode) {
|
||||||
|
|
||||||
this.remove = function(range, fromUndo) {
|
this.remove = function(range, fromUndo) {
|
||||||
if (range.isEmpty())
|
if (range.isEmpty())
|
||||||
return;
|
return range.start;
|
||||||
|
|
||||||
this.$remove(range, fromUndo);
|
this.$remove(range, fromUndo);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue