-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently all events are captured at the document level which means:
- All commands are global, there's currently no ability to make a keybinding work, say, only inside of a
contenteditableelement - Any other event higher up in the tree can stop propagation, making issues tough to debug
We should revise registerListener to allow an optional third parameter with the selector to target with the key command, while defaulting to a global handler