-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: SetComponent() encodes anything in <script> tags #3620
Comments
Thanks @jamesshin5 that will be fixed in the next release. |
thanks so much for this! when do you think the next release will be? I did a workaround of just adding a component with script to canvas but want to change back asap |
I hope really soon but can't tell the exact day. In case it might be useful, we auto-tweet new releases on our twitter account: https://twitter.com/grapesjs |
Thanks artf, the script tag content isnt being encoded anymore. but when I use setComponent or the import button to import script, it isn't reflected on the canvas ie. if I have a component that requires some script like a tabs view, if i import that html and js with setComponent(), the tabs are not working / switching the view. When exporting this html/js it works perfectly fine, is there something I should be doing so that imported script is in effect inside the canvas. acceptScript is already true |
@jamesshin5 that will be fixed in the next release |
When loading in HTML through setComponent, quotation marks turn into """ and less than signs turn into "<".
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: