Skip to content

How to add a keybinding with this eidtor #1805

Answered by trueadm
IWANABETHATGUY asked this question in Q&A
Discussion options

You must be logged in to vote

You can listen to the KEY_ENTER_COMMAND, which gets passed the event as the payload. editor.addComment(KEY_ENTER_COMMAND, (event) => {…}, Priority)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@guicoelho
Comment options

@trueadm
Comment options

trueadm Nov 23, 2022
Collaborator

Answer selected by IWANABETHATGUY
Comment options

You must be logged in to vote
1 reply
@guicoelho
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants