-
Notifications
You must be signed in to change notification settings - Fork 8
Review key handling (avoid e.which and allow modifiers) #20
Comments
At the moment, using the short to copy "Cmd/Ctrl + C" runs unintentionally the clone plugin. |
Not originally, but if this gets implemented, it would probably make sense to consider Cmd and Ctrl as the same modifier (at least by default). Did you encounter the issue with Cmd only or also with Ctrl? The Ctrl case should already be handled by the clone extension https://github.com/twitwi/deck.js/blob/master/extensions/clone/deck.clone.js#L186 |
Here are some links for any possible future work on this feature:
|
I forgot to mention I am using macOS (where the copy shortcut uses the Cmd modifier). |
blind tentative to solve comment from #20
I pushed a tentative fix (untested but I might have typed it right :) ). |
I've just tested it, it works perfectly. |
Great. Thanks for the feedback. |
event.which
is deprecatede.g., currently:
but we could imagine accepting something emacs-inspired like
The text was updated successfully, but these errors were encountered: