GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

The dreaded 'confirm that you want to leave' dialog. #3001

Closed pjdevries closed 4 years ago

pjdevries commented 4 years ago

For the time being mostly ad a hobby project, I'm attempting to integrate GrapesJS in Joomla! as an editor plugin. The way most editor plugins are implemented in Joomla!, is by using a <textarea> to get the editor data saved like any other <form> field.

I have a basic proof of concept that works; data is loaded and saved properly. Currently there remains one problem though. Whenever I save changed editor data, I get the dreaded 'confirm that you want to leave' dialog. That's weird, because when choosing to leave, the data appears to saved just fine.

Can anyone help me solve this problem?

Ju99ernaut commented 4 years ago

2805

artf commented 4 years ago

@pjdevries next time reply in your own issue and close it if it's solved, thanks :)

pjdevries commented 4 years ago

@artf Apologies!