GrapesJS / GrapesJS/components-custom-code

Cannot import template with <scrip>

Aperta
#36 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
81
Fork
47
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.