Issue #5274πŸ’¬ AnsweredOpened Aug 3, 2023by wunksert1 reactions

Parser bug inside Remix

Quick answerby artf❀ 1

@wunksert it seems like the editor initializes on itself multiple times, are you properly clearing the editor instance with destroy (eg. in your useEffect)?

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v114 Reproducible demo link https://github.com/wunksert/remix-grapes-error/tree/main Describe the bug How to reproduce the bug?Clone repo abovenpm inpm run dev you'll see that the grapes iframe and boilerplate is rendered into the canvas.Try to export and you'll see that all the grapes boilerplate is also rendering into the canvasOpen dev tools and you'll see the error: Additional context What is the expected behavior? The editor should render it's boilerplate properly, the same way as it W...

Answers (4)

artfβ€’ Aug 6, 2023

@wunksert it seems like the editor initializes on itself multiple times, are you properly clearing the editor instance with destroy (eg. in your useEffect)?

wunksertβ€’ Aug 3, 2023

It might turn out that a fix for this is more simply solved by me editing structure or naming conventions in my project. Happy to do that if it's faster than changing something in GrapesJS core.

artfβ€’ Aug 3, 2023

yeah definitely not related to the core

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @wunksert. Great question about Parser bug inside Remix. The recommended approach with Canvas is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method Most operations can be achieved by l...

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.