GrapesJS / GrapesJS/components-custom-code
Cannot import template with <scrip>
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 81
- Forks
- 47
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.