Describe the bug
It is possible to undo/redo edit changes using ctrl-Z and shift-ctrl-Z.
This works on both Windows and macOS. However on macOS, the idiomatic shortcut for undo/redo is command-Z and shift-command-Z
To Reproduce
Steps to reproduce the behavior:
Type in a phone number on a mac
Press command-Z
Observe nothing happens
Expected behavior
Expected:
The last change is reverted
Desktop (please complete the following information):
Describe the bug It is possible to undo/redo edit changes using ctrl-Z and shift-ctrl-Z. This works on both Windows and macOS. However on macOS, the idiomatic shortcut for undo/redo is command-Z and shift-command-Z
To Reproduce Steps to reproduce the behavior:
Expected behavior
Expected:
Desktop (please complete the following information):
Additional context The JavaScript property for the macOS command key is
metaKey
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey