Skip to content

Problems to create an interactive and selectable node #3161

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

You must be logged in to vote

What you want to use is a mutation listener on your given custom node. This will allow you to know when said nodes are created, updated and destroyed. In the creation phase, you can add event listeners to the DOM element using editor.getElementByKey

Replies: 2 comments 6 replies

Comment options

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

Answer selected by pedrocalderon
Comment options

You must be logged in to vote
5 replies
@pedrocalderon
Comment options

@tony3918
Comment options

@tony3918
Comment options

@pedrocalderon
Comment options

@tony3918
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
3 participants