prevent default on undo-redo
This commit is contained in:
parent
b8128aaf86
commit
08ad9b4186
1 changed files with 1 additions and 0 deletions
|
@ -565,6 +565,7 @@
|
||||||
} else {
|
} else {
|
||||||
dbUtils.undo();
|
dbUtils.undo();
|
||||||
}
|
}
|
||||||
|
e.preventDefault();
|
||||||
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
|
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
|
||||||
if (!targetInput) {
|
if (!targetInput) {
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
|
|
Loading…
Reference in a new issue