Skip to content
Discussion options

You must be logged in to vote

Would it work for your case checking the selected component?

editor.on('component:remove', (removed) => {
 if (removed === editor.getSelected()) {
   // ...
 }
})

Replies: 1 comment 1 reply

Comment options

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

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