[QUESTION] "Changes you made may not be saved." alert popup is displayed
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 #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 #886
[HELP WANTED]: questions about some customization.
Hey Guys, first thank you very much for your work, this project seems really promising. I have a few question for a website i'm building. I...
Issue #944
Drag and drop blocks is not working in IE Browser
Hi, There is some bug related to "Drag and drop functionality is not working in IE Browser ", i have tried to find out the solution regardi...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.