Issue #1640πŸ’¬ AnsweredOpened Dec 8, 2018by northkode0 reactions

Loading a new module into the editor

Quick answerby artf

Hi @northkode modules are only used internally by GrapesJS, it's not something you have to deal in your plugin, just init all your stuff inside your plugin function

Read full answer below ↓

Question

I have built a fully working page management system into the editor but I wasn't quite sure the proper way to inject the panel into the editor without doing the below code so i'm looking for some advice if this is not correct. I have a Page Plugin that I load in: The page-editor plugin basically loads in a custom panels plugin i have import panels from './panels'; which then in the Plugin Constructor does This is where things to me feel weird. I load in my PageManager class import PageManager from "./pagemanager"; And then in the init function of the Panels Controller Class, after I have set...

Answers (2)

artfβ€’ Dec 12, 2018

Hi @northkode modules are only used internally by GrapesJS, it's not something you have to deal in your plugin, just init all your stuff inside your plugin function

lock[bot]β€’ Dec 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.