react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

support emacs keybinds on macos

Open weakish opened this issue 4 years ago • 0 comments

MacOS has native system-wide support on emacs key bindings on text editing fields, including textarea of all major browsers. However, the default shortcuts of react-md-editor uses the ctrlcmd modifier, which breaks emacs key bindings on MacOS.

What about detecting current OS (e.g. via user agent) and set different modifiers on different os (cmd on MacOS and ctrl on Windows/Linux)?

weakish avatar Jul 30 '21 05:07 weakish