Don't mess with onbeforeunload unless user wants to
Thanks Duarte, fix applied and will be available in the next releaseI'm not passing in a noticeOnUnload config to grapesjs, so I wouldn't expect grapesjs to mess with it. Just a note, noticeOnUnload is true by default 😬
Read full answer below ↓Question
I have my own window.onbeforeunload handler, and I'm not passing in a noticeOnUnload config to grapesjs, so I wouldn't expect grapesjs to mess with it.
PR for this incoming.
Answers (3)
Thanks Duarte, fix applied and will be available in the next release
I'm not passing in a noticeOnUnload config to grapesjs, so I wouldn't expect grapesjs to mess with it.
Just a note, noticeOnUnload is true by default 😬
Oops, I meant I'm passing a noticeOnUnload as false 😁
Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1988
bug on resize image
Hi ! I have some issues when i want resize an image. When i put an image and when i click one resizer handler, the image don't keep his hei...
Issue #1366
[BUG] Duplicating CSS
On newest version of Grapesjs. I can replicate bug on both. Linux Ubuntoo, Moxilla. I expect that the css only shows up once, otherwise it'...
Issue #1564
Css/fonts/icons issues
Hi, i have an CSS issue with my project GrapesJS and i don't know why... I try to do the tuto and i haven't icons. Other issue, i can't spl...
Issue #1473
[BUG] Canvas external CSS
Comments in canvas/config.js state the external styles are added to the head of the iframe however the code in view/CanvasView.js actually...
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 →Related tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.