We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5d8324 commit ce713c6Copy full SHA for ce713c6
source/lib/undo-stack.js
@@ -4,8 +4,8 @@ export default class UndoStack {
4
static isMac = navigator.platform.includes('Mac');
5
static replaceKbdOnMac = string =>
6
UndoStack.isMac
7
- // Some locales don't call it "ctrl"
8
- ? string.replace(/(?<=>)[a-z]+\+z/i, '⌘Z')
+ ? // Some locales don't call it "ctrl"
+ string.replace(/(?<=>)[a-z]+\+z/i, '⌘Z')
9
: string;
10
11
constructor(element) {
0 commit comments