Issue #635πŸ’¬ AnsweredOpened December 13, 2017by HarshOB0 reactions

Is there any way to reload grapes editor explicitly?

Quick answerby artf

specific changes what kind of changes?

Read full answer below ↓

Question

I want to reload grapes editor to get specific changes, is there any method to reload grapes editor?

Answers (3)

artfβ€’ December 13, 2017

specific changes

what kind of changes?

HarshOBβ€’ December 14, 2017

like I pass codes explicitly to grapes. and I got my HTML and CSS while clicking on view code button on the header of grapes editor. but it wasn't shown to the editor. Once I refresh the page or reopen the same page I got the structure in the editor as well.

artfβ€’ December 14, 2017

@HarshOB I didn't get exactly what do you mean with I pass codes explicitly to grapes but if you use correctly the Editor API you should see the canvas update, eg.

editor.setComponents('<div class="cls">New component</div><style>...</style>');

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.