Issue #3368πŸ’¬ AnsweredOpened Mar 27, 2021by sizhousama0 reactions

I need to reload "https://.../main.js" every time I add a block,what should I do?

Quick answerby artf

Subscribe to the event you think might be useful for you and then reload as you wish

Read full answer below ↓

Question

I need to reload "https://.../main.js" every time I add a block,what should I do?

Answers (2)

artfβ€’ Apr 7, 2021

Subscribe to the event you think might be useful for you and then reload as you wish

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @sizhousama. Great question about [QUESTION] I need to reload "https://.../main.js" every time I add a block,what should I do?. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Loo...

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.