[Bug]: Error on multiple instances of grapesjs
Question
Hello,
I use Grapesjs in my reactJS application.
I have a react component which is an instance of Grapesjs. So I can add this component in my application as many times as I want.
Everytime I want to fire an event (delete a block) with my keyboard in the grapesjs Editor, it doesn't work.
This is the error throwing:
But if I click on the icon to delete the block, it works.
Answers (3)
Can you provide a reproducible live demo of your case, please? ps. make sure to work with the latest version of grapesjs
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
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.
Issue #1369
[BUG] Class of a block doesn't always show in the classes section
Hello everyone, I have added many custom blocks and gave the same css class to all the images in those blocks. Let's call it for now 'image...
Issue #1696
Traits appear first time when draged custom component
Hi artf , i have created custom component and add traits for it , when dragging this component to editor and select it the setting traits w...
Issue #765
editor.on('block:drag:stop') event doesn't work
I am using this event many times in the application in the previous library. Now I have updated the library. I have updated the following l...
Issue #2008
[Question]The canvas turns dark and unmodifiable on adding a large piece of custom html.
I used to add custom html with editor.addComponent(). It works well at most of the time, but when I try to insert a large piece of HTML whi...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.