fix: handle backspace also on shift

This commit is contained in:
Philipp Kühn
2021-09-27 23:03:51 +02:00
parent aa25d362f9
commit 32ae3868ea

View File

@@ -27,6 +27,7 @@ export const Keymap = Extension.create({
'Mod-Enter': () => this.editor.commands.exitCode(),
Backspace: handleBackspace,
'Mod-Backspace': handleBackspace,
'Shift-Backspace': handleBackspace,
Delete: handleDelete,
'Mod-Delete': handleDelete,
'Mod-a': () => this.editor.commands.selectAll(),