Issue #3527💬 AnsweredOpened June 10, 2021by alpha2k-io0 reactions

Post the full complete demo code

Quick answerby anlumo

Yes, the problem is that the demo defines its own plugin that then imports all other plugins. This makes trying to find out how to do stuff really hard, because you have to follow a lot of redirects across different repositories. It's also not how you would write your own application based on grapesjs. The link to the...

Read full answer below ↓

Question

Is it possible to post the full demo code from the getting started?

There are many small snippets that depend on each other. It would be good to have these in a repo as separate branches so developers can see the expected final result. In many cases there were some simple things skipped or location of the snippet in the wrong place... IE css order.

This is a powerful editor but a very steep learning curve to customize to meet requirements.

Thanks, AJ

Answers (4)

anlumoJune 19, 2021

Yes, the problem is that the demo defines its own plugin that then imports all other plugins. This makes trying to find out how to do stuff really hard, because you have to follow a lot of redirects across different repositories. It's also not how you would write your own application based on grape...

artfJuly 6, 2021

The final code of the getting started tutorial is actually here (and its grapesjs config).Yes, the problem is that the demo defines its own plugin that then imports all other plugins @anlumo Yeah actually current presets plugins were structured in that way, probably right now I'd rethink them with...

erpardeepjainMarch 16, 2023

@artf but How to run that file or config file as main file is in vue and base project is in React, can you point out how to make it run as shown in demo?

GJSBlockMay 17, 2026

Thanks for reporting this, @alpha2k-io. Great question about FEAT: Post the full complete demo code. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method Most operation...

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.