some comments

This commit is contained in:
Bruno Windels 2019-05-08 11:13:36 +02:00
parent ebdb9fcb9c
commit 0f38753dba
2 changed files with 4 additions and 0 deletions

View file

@ -45,6 +45,7 @@ export default class EditorModel {
}
_diff(newValue, inputType, caret) {
// can't use caret position with drag and drop
if (inputType === "deleteByDrag") {
return diffDeletion(this._previousValue, newValue);
} else {