Issue #2349Opened October 23, 2019by HarryChristianR1 reactions

[Question] How can I export including code inside <script></script?>

Question

Hi, the <a href="https://github.com/artf/grapesjs-code-editor/">code editor plugin</a> only limits me to preview the HTML & CSS and if I try to add <script></script> .. it's gone?

Answers (1)

giorgiosjamesOctober 25, 20191 reactions

Do you have allowScripts enabled for your editor? const editor = grapesjs.init({ ... allowScripts: 1, });

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.