Issue #1990Opened April 29, 2019by Ramkumar-Murugesan0 reactions

[QUESTIONS] need to call method before remove the html component

Question

Hi, I need to call the method before remove the HTML component. how can I do that image

calling method like editor.on('block:drag:stop', function (model) {})

Answers (2)

artfMay 1, 20190 reactions
editor.on('run:core:component-delete:before', () => {
	alert('Before delete')
})
lock[bot]May 6, 20200 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.