prevent default on undo-redo

This commit is contained in:
vcoppe
2024-09-11 14:41:02 +02:00
parent b8128aaf86
commit 08ad9b4186

View File

@@ -565,6 +565,7 @@
} else {
dbUtils.undo();
}
e.preventDefault();
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
if (!targetInput) {
if (e.shiftKey) {