Creating Custom Multiple Block Managers
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 to show in the browser. If I can get help on this I would greatly appreciate it.
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?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
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...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.