Issue #6250πŸ’¬ AnsweredOpened Oct 23, 2024by maxming23330 reactions

Clone page prompt 'Converting circular structure to JSON'

Quick answerby maxming2333

In addition to the above method, is there any other way to copy the page?

Read full answer below ↓

Question

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 129.0.6668.101Reproducible demo link https://grapesjs.com/demoDescribe the bug How to reproduce the bug? open https://grapesjs.com/demo run this script in DevTools: What is the expected behavior? Successfully copied without error What is the current behavior? Successfully copied with error: <img width="472" alt="image" src="https://github.com/user-attachments/assets/14309772-7e8e-4ce2-ba14-7aefbed8614f"> ------------------ Deep cloning can use lodash: https://lodash.com/docs/4.17.15#cloneDeep...

Answers (2)

maxming2333β€’ Oct 23, 2024

In addition to the above method, is there any other way to copy the page?

GJS Helperβ€’ May 17, 2026

The TypeError: Converting circular structure to JSON you're encountering when cloning a GrapesJS page's main component and adding it to a new page is a common issue related to how GrapesJS components are serialized for storage. This happens because live GrapesJS Component models, especially after t...

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.