Skip to content

Commit 8f2593b

Browse files
committed
Bind Shift-Backspace in the base keymap
FIX: Add a binding for Shift-Backspace to the base keymap, so that shift or caps-lock won't interfere with backspace behavior. See https://discuss.prosemirror.net/t/need-to-backspace-twice-to-remove-empty-paragraph-on-ios/4065
1 parent 622eec1 commit 8f2593b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ export let pcBaseKeymap = {
609609
"Mod-Enter": exitCode,
610610
"Backspace": backspace,
611611
"Mod-Backspace": backspace,
612+
"Shift-Backspace": backspace,
612613
"Delete": del,
613614
"Mod-Delete": del,
614615
"Mod-a": selectAll

0 commit comments

Comments
 (0)