react-md-editor
react-md-editor copied to clipboard
support emacs keybinds on macos
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)?