quill
quill copied to clipboard
shortKey: null does not seem to work for keybindings
Am I right that shortKey: null
is not processed correctly because of how this check is written? Ie, shortKey
is not replaced with metaKey/ctrlKey
in this case, and has no effect
Steps for Reproduction
- Playground
- Check comment for the key binding at the bottom
Expected behavior: shortKey: null
should work the same way as other modifiers, according to documentation
Actual behavior: it doesn't seem to have any effect
Platforms: Tested on MacOS only
Version: v2.0.2