Issue #1985๐Ÿ’ฌ AnsweredOpened April 26, 2019by DylanSp1 reactions

Autosave with remote storage doesn't send network requests

Quick answerby DylanSpโค 1

Updating to the next release fixed this, I now see requests to to the /store endpoint. Thanks for the prompt fix!

Read full answer below โ†“

Question

OS: Windows 10 Browser: Chrome 73 GrapesJS version: 0.14.57 I have remote storage configured using this call to grapesjs.init(): While I see the request to /load fire in the Network tab of Chrome's dev tools, I don't see any requests to /store, no matter how many changes I make in the editor. Is there a configuration option I'm missing, or something simple like that? I'm using Grapes inside React, using create-react-app; could that cause an issue? I can replicate this on CodeSandbox.

Answers (3)

DylanSpโ€ข May 6, 2019

Updating to the next release fixed this, I now see requests to to the /store endpoint. Thanks for the prompt fix!

DylanSpโ€ข April 26, 2019

I should also note that manually saving with editor.store() does send a request that I can see in the Network tab.

artfโ€ข May 1, 2019

Thanks for the report @DylanSp actually there is an issue with the listener. If the first load call fails (and I guess your /load endpoint is fake just like mine) it never starts tracking the editor changes so autosave doesn't work. It will be fixed in the next release

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.