Creating Custom Multiple Block Managers
Just pass the set of blocks to the BlockManager.render method https://grapesjs.com/docs/api/block_manager.html#render
Read full answer below βQuestion
Is there a way to generate multiple block managers where you click on a command button and a set on specific components are listed in the view panel? I recently asked about Multiple block mangers or filtering blocks based on criteria, but I should have explained a bit more. Here is that I'm looking for. In the images attached - I have 4 panel views and 3 Category choices. a Plane, a Graph and a Tag icon added to the panel. I would like to choose each icon and show different views on screen. When I've tried to recreate the Block Manager - as a result, I would error out and have a blank screen...
Answers (3)
Just pass the set of blocks to the BlockManager.render method
https://grapesjs.com/docs/api/block_manager.html#render
@rgernale hi bro, i'm trying to do the same as you, how did you manage to implement it?
No. I havenβt had time to work on it. But I saw in one of the thread of something close. Youβll have just search Sent from my iPhone On Jun 13, 2019, at 5:32 PM, alemenciones <[email protected]> wrote: @rgernale hi bro, i'm trying to do the same as you, how did you manage to implement it? β...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1489
Multiple block mangers or filtering blocks based on critera
I would like to be able to make separate blocks into groups for different icon on panel. For instance I have buttons A, B & C on panel . "A...
Issue #3100
Adding external libraries after dragging custom block
Hi, I am customizing GrapesJS by creating components/blocks my users can drag onto the canvas. A number of these blocks depend upon externa...
Issue #3074
Rendering Angular components in GrapesJS.
Rendering Angular components in GrapesJS. I am creating an Angular editor with GrapesJS. I am able to integrate GrapesJS in my Angular proj...
Issue #498
Ability to filter blocks
What do you think about the ability to filter the blocks panel? I have a situation where I may have hundreds of custom blocks, and having a...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins β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.
Tutorial
π Big Update: Import, Edit & Export Documents with Ease + 14-Day Pro Trial
Weβve just shipped a major update to gjsdocs.com β and it changes how you work with documents
Tutorial
π Introducing the New GrapesJS Plugin Generator on GJS.Market
Weβre excited to announce a powerful new tool for GrapesJS developers β the GrapesJS Plugin Generator on GJS.Market!
Tutorial
Top 10 GrapesJS Developers and Studios on GJS.Market
GrapesJS has surged in popularity as an open-source visual HTML editor, creating high demand for skilled GrapesJS Developers
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.