Save note on forward-delete when text is selected
This doesn't generate a keypress event for some reason, even though it does when no text is selected.
This commit is contained in:
parent
4fb8f44d01
commit
8f3909713f
1 changed files with 6 additions and 0 deletions
|
@ -416,6 +416,12 @@
|
|||
this.redo();
|
||||
return;
|
||||
}
|
||||
// Handle forward-delete, which doesn't register as a keypress
|
||||
// when a selection is cleared
|
||||
if (event.which == event.DOM_VK_DELETE) {
|
||||
this._changed = true;
|
||||
commandEvent = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'keypress':
|
||||
|
|
Loading…
Reference in a new issue