Content persisting over a browser refresh ? #5685
Replies: 1 comment 1 reply
-
Did you check already the Storage documentation?
You should provide a reproducible demo as it might be something wrong with your custom code. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a newb so probably doing something obvious wrong, but I am trying to save/load templates to a database, but can't seem to stop it saving and loading the old content in the browser.
I have
autosave
andautoload
setfalse
. And I'meditor.destroy
ing any old editors before creating a new one. Should I look into loading the template into an existing editor instead perhaps?I'm not trying to use the builtin Storage engine; I'm using getJs, getHtml, etc to save and inserting the loaded content into the webpage before grapesjs.init-ing.
Beta Was this translation helpful? Give feedback.
All reactions