-
As of right now, if i load a already created website with grapesjs with allowScripts: true, it will also copy the <script> that the component has previously exported. I have no way of recognizing the old script and removing it before the component adds the new script. Is there a way to add an attribute to components script so that I can detect it and remove it before i load the HTML? This way we could do something like this: Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Use the JSON to load properly the project back not the output HTML, that's not the only issue you might face by importing an exported HTML. |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
Use the JSON to load properly the project back not the output HTML, that's not the only issue you might face by importing an exported HTML.