Add russian undo/redo shortcuts and fix tests

This commit is contained in:
Markus Machatschek
2021-07-14 17:29:28 +02:00
committed by Hans Pagel
parent 6ca7ebde55
commit a331d72383
2 changed files with 47 additions and 14 deletions

View File

@@ -49,8 +49,10 @@ export const History = Extension.create<HistoryOptions>({
addKeyboardShortcuts() {
return {
'Mod-z': () => this.editor.commands.undo(),
'Mod-я': () => this.editor.commands.undo(),
'Mod-y': () => this.editor.commands.redo(),
'Shift-Mod-z': () => this.editor.commands.redo(),
'Shift-Mod-я': () => this.editor.commands.redo(),
}
},
})