Issue #837💬 AnsweredOpened February 5, 2018by RiyaThete0 reactions

Javascript Deletes

Quick answerby arthuralmeidap

What is the name of the plugin?

Read full answer below ↓

Question

Whenever I import, using import plugin, javascript part of the code is deleted. Is there any way to preserve it? I want to used the exported html file directly, but cannot use it now because javascript is missing in it

Answers (3)

arthuralmeidapFebruary 6, 2018

What is the name of the plugin?

arthuralmeidapFebruary 6, 2018

try to run editor.getJs(). see if it returns the previous imported JS.

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.