mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
Fix mod+z/mod+y failed with capslock (#4132)
This commit is contained in:
parent
d710846ecb
commit
babf84b3e6
@ -51,8 +51,11 @@ export const History = Extension.create<HistoryOptions>({
|
||||
addKeyboardShortcuts() {
|
||||
return {
|
||||
'Mod-z': () => this.editor.commands.undo(),
|
||||
'Mod-Z': () => this.editor.commands.undo(),
|
||||
'Mod-y': () => this.editor.commands.redo(),
|
||||
'Mod-Y': () => this.editor.commands.redo(),
|
||||
'Shift-Mod-z': () => this.editor.commands.redo(),
|
||||
'Shift-Mod-Z': () => this.editor.commands.redo(),
|
||||
|
||||
// Russian keyboard layouts
|
||||
'Mod-я': () => this.editor.commands.undo(),
|
||||
|
Loading…
Reference in New Issue
Block a user