Issue #3149Opened November 21, 2020by MarksEliel0 reactions

BUG: Background layers empty in reload editor

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 (1)

artfNovember 26, 20200 reactions

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#store-and-load-templates)

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.