Issue #6704πŸ’¬ AnsweredOpened Feb 13, 2026by mehdimoslehi0 reactions

Editor crashes and template won’t load (TypeError reading type)

Quick answerby artf

Please provide an isolated, reproducible demo cause that seems to come from your code logic and not related to the core

Read full answer below ↓

Question

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 143.0.7499.193 Reproducible demo link https://app.rechat.com/dashboard/marketing/history/Letter?printCampaignId=28f0587d-8738-4fd6-8087-da3167f6d737&action=edit Describe the bug How to reproduce the bug? Open Rechat Studio editor and try to load/open this template: https://app.rechat.com/dashboard/marketing/history/Letter?printCampaignId=28f0587d-8738-4fd6-8087-da3167f6d737&action=edit Wait for the editor to load the content. The editor crashes and shows β€œSomething went wrong”. Open...

Answers (2)

artfβ€’ Feb 18, 2026

Please provide an isolated, reproducible demo cause that seems to come from your code logic and not related to the core

GJS Helperβ€’ May 17, 2026

The GrapesJS editor crash with a TypeError: Cannot read properties of undefined (reading 'type') when loading your template is caused by malformed HTML within the content you are trying to load. Specifically, certain div elements have a data-block attribute but lack a data-type attribute, which is...

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.