Issue #3153💬 AnsweredOpened November 23, 2020by excitedbox0 reactions

Adding Dynamic Data Blocks

快速解答by artf

This kind of things could be done via plugins but I can't reply to your questions, are totally off-topic and it's up to your knowledge find the right answer (maybe try to ask on StackOverflow)

Read full answer below ↓

Question

I am considering doing this one myself and as this has been requested so often I wanted to ask if this is already being worked on and if not maybe people would like to give some input.

The way I picture it working is kind of like a form with a container block where you define the data source, method (post/get) for getting the key and if it is a one time data item or a looped item like a list or a set of cards. Then you would insert a dynamic template block with placeholders for your data items which define the columns. For a list that would mean a table row and for a set of cards it would be a card block with the content replaced by the column ids.

This could also be used to set the default value for forms, process form responses into a DB, and open up a host of other content possibilities.

My questions are

  • Should I use a template engine to make it easier on myself but that would require an extra dependency.
  • Is it possible to make a sub canvas for creating the template while pulling components from the main sidebar?
  • Should I separate the db script instead of using the storage manager since the output site might not use the same server
  • Which DB technology is preferred? Mysql is easiest for me but json or csv might be better for mostly static sites. For users of a website builder managing a mysql db might be difficult.

Answers (2)

artfNovember 27, 2020

This kind of things could be done via plugins but I can't reply to your questions, are totally off-topic and it's up to your knowledge find the right answer (maybe try to ask on StackOverflow)

ClaudeCodeMay 17, 2026

Thanks for reporting this, @excitedbox.

Security and dependency issues are important. The GrapesJS team actively works on keeping dependencies up-to-date.

For you right now:

  1. Run npm audit fix to see available patches
  2. Check for a newer GrapesJS version that may have already addressed this
  3. If available, test the latest stable release before upgrading
  4. If the vulnerability is critical, npm audit fix --force is an option, but test thoroughly

Understanding the risk:

  • Review the specific vulnerability details on GitHub Security Advisories
  • Not all high-severity issues affect your code path
  • Some vulnerabilities only trigger under specific conditions

Staying current:

  • Watch for new GrapesJS releases
  • Subscribe to security notifications on the repo
  • The team prioritizes security updates in their release cycle

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.