some comments
This commit is contained in:
parent
ebdb9fcb9c
commit
0f38753dba
2 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue