GrapesJS / GrapesJS/components-custom-code

Script Tag is sanitized in the output

Open
#35 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
81
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Hello,

When using the following custom code

```html
alert('hi')
```

The result would sanitize the script tag as following

```html
<script>alert('hi')</script>
```

Am I missing anything?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.