how to add a custom keyboard shortcut #573
ivan-price-acted
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
sorry if this is a dumb question but i can't find anywhere how we can add a custom keyboard shortcut.. e.g. ctrl-enter to trigger a custom function in our code.
I looked at the doc here:
https://sibiraj-s.github.io/ngx-editor/examples/shortcuts/
which points to the doc here:
https://prosemirror.net/docs/ref/#keymap
but it's not obvious how to implement this seemingly simple feature.
thanks for any advice and thanks for the great lib !
-ivan
Beta Was this translation helpful? Give feedback.
All reactions