Issue #1219💬 AnsweredOpened June 19, 2018by hahenty0 reactions

Event component:remove false triggers

Quick answerby WkRPcoN

I can confirm I am experiencing the same issue on v0.14.20 this.editor.on('component:remove', function(model) { console.log('comp removed'); });

Read full answer below ↓

Question

Hello. Event "component:remove" triggers when any component deselected by ckicking on other place. Browser – Firefox (autoupdated)

https://jsfiddle.net/szLp8h4n/207/ here "console.log" listens this event and prints on deselecting, including body of canvas.

[google translated]

Answers (3)

WkRPcoNJune 23, 2018

I can confirm I am experiencing the same issue on v0.14.20

this.editor.on('component:remove', function(model) { console.log('comp removed'); });

artfJune 24, 2018

Will be fixed in the next release

lock[bot]September 17, 2019

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.