From 97dd95199fa8aa825f08ade98b43c78ec2541528 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Wed, 14 Jul 2021 23:51:53 +0200 Subject: [PATCH] history: code style --- packages/extension-history/src/history.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(), } },