Repository navigation
How to add a keybinding with this eidtor #1805
Answered
by
trueadm
IWANABETHATGUY
asked this question in
Q&A
|
For example, i want to add a shortcut when i press |
Answered by
trueadm
Apr 17, 2022
Replies: 2 comments 3 replies
|
You can listen to the |
2 replies
Answer selected by
IWANABETHATGUY
@IWANABETHATGUY did you make it happen? i need to implement the same too...🙂 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can listen to the
KEY_ENTER_COMMAND, which gets passed theeventas the payload.editor.addComment(KEY_ENTER_COMMAND, (event) => {…}, Priority)