Issue #2805✓ SolvedOpened May 27, 2020by EgorPashko6 reactions

"Changes you made may not be saved." alert popup is displayed

Quick answerby Ju99ernaut6

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)

👍 Most helpfulJu99ernautJune 13, 2020

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

Ju99ernautMay 27, 2020

It's probably because you have no storage set up

pjdevriesSeptember 5, 2020

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.

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.