Skip to content

Commit

Permalink
fix: handle backspace also on shift
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Sep 27, 2021
1 parent aa25d36 commit 32ae386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/extensions/keymap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 32ae386

Please sign in to comment.