Confirm leaving the editor
Question
I'm wanna cancel the "leave site?" confirm dialog when a user tries to leaves the editor (when StorageManager is disabled).
The reason is that I'm storing the code inline, server-side and then pulling it with fromElement.
But when I submit the form to store the page, I always get the JS confirm dialog.
Even fake calling store does not work when storage is completely disabled.
Any ideas?
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3249
QUESTION regarding JSON stored by the StorageManager
Hey, @artf. I want to access the json that is generated when a template is stored without actually storing the template. The json object ca...
Issue #4191
BUG: We are trying to store the data from grapesJS editor in Angular 10 application, getting CORS error, image attached below
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99.0.4844.5 Reproducible demo link...
Issue #3947
BUG: selection box not clickable in editor
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Firefox 94.0.1Reproducible demo link https:/...
Issue #3615
BUG: text in text component cannot update , cannot get final result from toHTML
it is text component, if select body, the text will correct save/apply/store in component toHTML method, if just updating text, but not lea...
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.