Skip to content

Commit

Permalink
history: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Jul 14, 2021
1 parent d52af5b commit 97dd951
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/extension-history/src/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ 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(),

// Russian keyboard layouts
'Mod-я': () => this.editor.commands.undo(),
'Shift-Mod-я': () => this.editor.commands.redo(),
}
},
Expand Down

0 comments on commit 97dd951

Please sign in to comment.