Issue #3149💬 AnsweredOpened November 21, 2020by MarksEliel0 reactions

Background layers empty in reload editor

Quick answerby artf

In the demo the bug does not appear, I believe that for using localstorage for storage. No, using local storage or remote one has no difference as the JSON structure to use is the same. Indeed, I guess you're loading back the HTML instead of the JSON (as explained here https://grapesjs.com/docs/modules/Storage.html#st...

Read full answer below ↓

Question

Version: Last

In the demo the bug does not appear, I believe that for using localstorage for storage.

Grapesjs works normally, with background, but when I insert the background layers, except, everything is displayed correctly.

The problem is that when I reload the editor, it does not show the layers that were created, but everything is displayed normally, the problem is that it is not possible to edit again, because the layers do not appear.

See the video for more details.

https://youtu.be/F_YRlJpONSM

Answers (2)

artf‱ November 26, 2020

In the demo the bug does not appear, I believe that for using localstorage for storage. No, using local storage or remote one has no difference as the JSON structure to use is the same. Indeed, I guess you're loading back the HTML instead of the JSON (as explained here https://grapesjs.com/docs/mod...

GJSBlock‱ May 17, 2026

Thanks for reporting this, @MarksEliel. The issue with Background layers empty in reload editor appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating an inconsistent state. What to try: Add a...

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.