diff --git a/packages/extension-history/src/history.ts b/packages/extension-history/src/history.ts index 6739607e..02f66a03 100644 --- a/packages/extension-history/src/history.ts +++ b/packages/extension-history/src/history.ts @@ -49,9 +49,11 @@ export const History = Extension.create({ 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(), } },