Issue #3645💬 AnsweredOpened July 26, 2021by codingmachine160 reactions

Quick answerby codingmachine16

Hi @artf Hi, We are building a CMS using grapesJs. We have created componets for header, footer,products slider, different kind of banners. We have completed almost a Ecommerce site using grapesjS + React Js +NodeJs and Mongdb. We are able to store and load components to and from DB. our web admin side is for example...

Read full answer below ↓

Question

WARNING

READ and FOLLOW next 3 steps, then REMOVE them before posting the issue

  1. Follow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.md
  2. Do a quick SEARCH first, to see if someone else didn't open the same issue
  3. All relative statements/questions have to be filled/answered, otherwise, the issue might be CLOSED
  4. JSFiddle Starter template https://jsfiddle.net/szLp8h4n
  5. CodeSandbox Starter template https://codesandbox.io/s/1r0w2pk1vl

Version:

You can get the version by typing grapesjs.version into the console

Are you able to reproduce the bug from the demo?

  • Yes
  • No

What is the expected behavior?

Describe the bug detailed Hi, We are building a CMS using grapesJs. We have created componets for header, footer,products slider, different kind of banners. We have completed almost a Ecommerce site using grapesjS + React Js +NodeJs and Mongdb. We are able to store and load components to and from DB.

our web admin side is for example abc.com/editor

Here we are creating layout and storing and loading pages

we are facing issue on front end. for example, abc.com/home

Here we want to display stored components and want to bind dynamic data . We dont wat to use editor on front end. Please suggest how is it possible. As this is not mentioned in the Grapes JS docs.

What is the current behavior?

Describe the bug detailed

Are you able to attach screenshots, screencasts or a live demo?

  • Yes (attach)
  • No

Answers (2)

codingmachine16July 26, 2021

Hi @artf

Hi, We are building a CMS using grapesJs. We have created componets for header, footer,products slider, different kind of banners. We have completed almost a Ecommerce site using grapesjS + React Js +NodeJs and Mongdb. We are able to store and load components to and from DB.

our web admin side is for example abc.com/editor

Here we are creating layout and storing and loading pages

we are facing issue on front end. for example, abc.com/home

Here we want to display stored components and want to bind dynamic data . We dont wat to use editor on front end. Please suggest how is it possible. As this is not mentioned in the Grapes JS docs.

ClaudeCodeMay 17, 2026

Thanks for reporting this, @codingmachine16.

Great question about ****. The recommended approach with ProseMirror is to use the event-driven API.

Start here:

  1. Check the GrapesJS documentation for your specific module
  2. Look for the on() event listener method
  3. Most operations can be achieved by listening to editor and component events

Common patterns:

// Listen for changes
editor.on('change', () => console.log('something changed'));

// Component lifecycle
editor.on('component:mount', (c) => console.log('component ready', c));
editor.on('component:update', (c) => console.log('component updated', c));

If you're still stuck:

  • Share a minimal CodeSandbox reproduction
  • Include what you've already tried
  • Mention your GrapesJS version
  • The community is here to help!

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.