Skip to content

How to create a new component on Enter ↵ key? #5273

Answered by lexoyo
frank-embleton asked this question in Q&A
Discussion options

You must be logged in to vote

Did you try listening to the enter key then adding a component with grapesjs api?

You can start listening when the selection changes to a text component

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@frank-embleton
Comment options

@lexoyo
Comment options

@glaprida
Comment options

@glaprida
Comment options

Answer selected by frank-embleton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants