Issue #5718πŸ’¬ AnsweredOpened Mar 4, 2024by mitcht0 reactions

Possible upgrade path issue where 'textnode' is now called 'wrapper' from 0.18 -> latest

Quick answerby artf

Thanks @mitcht but as I already mentioned the main component could never been textnode in the first place so it doesn't make sense to handle such a case in the core or have this issue open. Anyway, if the logic works for you just use it in your editor.

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 122.0.6261.95 (Official Build) (64-bit) Reproducible demo link https://jsfiddle.net/n4x6L1v0/2/ Describe the bug How to reproduce the bug?Save component data from an earlier version of grapejs (0.18)Attempt to import into latest version of grapesjs as project data What is the expected behavior? Grapes could simply replace watch for older 'textnode' entries and update them to be 'wrapper' entried. What is the current behavior? Throws an offset error in the console This code is not ne...

Answers (2)

artfβ€’ Mar 7, 2024

Thanks @mitcht but as I already mentioned the main component could never been textnode in the first place so it doesn't make sense to handle such a case in the core or have this issue open.

Anyway, if the logic works for you just use it in your editor.

GJS Helperβ€’ May 17, 2026

The issue you're encountering is a known breaking change related to the evolution of GrapesJS's internal component architecture, specifically how the root component of a frame is handled. In older versions (like 0.18), the default root component type for a frame might have been textnode or similar,...

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.