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.
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?