Issue #1067Opened April 25, 2018by phucphanJaneto0 reactions

[BUG] - Grapesjs become null when allow script

Question

Hi @artf

I initialized grapesjs without allow script. I imported html string from the attachment (template.zip) and Grapesjs can show it correctly

But when I allow script by allowScripts: 1 in init code and imported the above html string. Grapesjs doesn't show any and I can't use any grapesjs.

image

template.zip

Answers (3)

artfApril 25, 20180 reactions

Can you provide a live demo on jsfiddle?

no-response[bot]May 5, 20180 reactions

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

phucphanJanetoMay 9, 20180 reactions

Hi, @artf

Sorry for late reply. Here you are: https://jsfiddle.net/oq58jk1p/6/

Currently, I comment the line "allowScript: 1" in the jsfiddle. When you test please open this again.

Thanks.

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.