Issue #3620Opened July 13, 2021by jamesshin50 reactions

BUG: SetComponent() encodes anything in <script> tags

Question

When loading in HTML through setComponent, quotation marks turn into "&quot" and less than signs turn into "&lt".

Any help would be greatly appreciated!

Answers (3)

artfJuly 28, 20210 reactions

Thanks @jamesshin5 that will be fixed in the next release.

jamesshin5July 29, 20210 reactions

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

artfJuly 31, 20210 reactions

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

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.