You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps:
Open Canvas with GrapesJS, select any of the components, then click on Go to Random, I get an error that says "Cannot read property 'models' of undefined".
This only happens if I call the editor.destroy() before navigating to a different page. But if I remove the destroy, it works fine...
Demo: https://stackblitz.com/edit/grapesjs-models
Should I really call the destroy()? Will I have any issue on opening GrapesJS multiples times if I don't destroy it?
The text was updated successfully, but these errors were encountered:
Hey @artf,
Steps:
Open Canvas with GrapesJS, select any of the components, then click on
Go to Random
, I get an error that says "Cannot read property 'models' of undefined".This only happens if I call the
editor.destroy()
before navigating to a different page. But if I remove the destroy, it works fine...Demo: https://stackblitz.com/edit/grapesjs-models
Should I really call the
destroy()
? Will I have any issue on opening GrapesJS multiples times if I don't destroy it?The text was updated successfully, but these errors were encountered: