We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
When using the following custom code
<script> alert('hi') </script>
The result would sanitize the script tag as following
<script>alert('hi')</script>
Am I missing anything?
The text was updated successfully, but these errors were encountered:
You could try with this config and see if it works for you:
grapesjs.init({ ... parser: { optionsHtml: { allowScripts: true, }, }, });
Sorry, something went wrong.
I used the following configs:
grapesjs.init({ allowScripts: true,
I used the following configs: grapesjs.init({ allowScripts: true,
This one is deprecated, it might not work anymore in the future.
@deprecated in favor of `config.parser.optionsHtml.allowScripts`
No branches or pull requests
Hello,
When using the following custom code
The result would sanitize the script tag as following
Am I missing anything?
The text was updated successfully, but these errors were encountered: