GrapesJS / GrapesJS/components-custom-code

Cannot import template with <scrip>

オープン
#36 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
81
フォーク
47
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。