GrapesJS / GrapesJS/components-custom-code
Cannot import template with <scrip>
Open
- Dominant language
- TypeScript
- Stars
- 81
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
When importing a template that contains a script, the script portion is not imported. Even when using the "code" module, the result is the same.
This is despite enabling the allowScripts configuration option when initializing your GrapesJS editor.
```
const editor = grapesjs.init({
... // the rest of your GrapesJS config
allowScripts: 1,
});
```
Any ideas?
Thanks.
S.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.