"Changes you made may not be saved." alert popup is displayed
I guess the alert still shows up even if you have storage set up. Add this to your initialization: By default it's set to true
Read full answer below ↓Question
Hey guys
I have some problem related to alert which displayed when I tried log out of page. Actually I do not know bug is it or something else. I have read documentation, but did not get answer yet. If you help me I will gratefully to you.
Alert message is "Changes you made may not be saved."
Answers (3)
I guess the alert still shows up even if you have storage set up. Add this to your initialization:
var editor = grapesjs.init({
//...
// Show an alert before unload the page with unsaved changes
noticeOnUnload: 0,
//...
})
By default it's set to true
It's probably because you have no storage set up
I thought about storage as well and was about to set up a dummy storage, hoping it would circumvent the problem. The noticeOnUnload: 0 works like a charm though, so no need for that.
Thank you very much.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #951
[QUESTION] Selection of custom components not possible from canvas.
Hey, I tried to figure this out by myself, but I'm feeling I'm going a little bit in circles. So I hope you will have some time to read thi...
Issue #3713
Stored components with script can not be rendered properly
I am facing some problem when try to save some components which includes some scripts and reload the page the components are not rendered p...
Issue #2953
BUG: Error when navigating out from Grapes with something selected.
Hey @artf, Steps: Open Canvas with GrapesJS, select any of the components, then click on Go to Random, I get an error that says "Cannot rea...
Issue #3159
[Question] Is there any way to get the parser errors other than from console log
I am using the latest GrapesJS (v0.16.27). As per the fix for the issue, (#2029) the exception has been caught and logged into the console....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.