Issue #386✓ SolvedOpened October 5, 2017by RuudH3 reactions

Extend Pannel/Command examples/documentation with opening a new view

Quick answerby daniel-farina2

A good practice to get familiar with GrapeJS would be to attempt to duplicate the blocks manager and create your own. You can accomplish that by editing the files below. A good example would be to copy the src/blockmanagerand call it src/sectionmanager, then rename all the names from BlockManager to SectionManager. Lo...

Read full answer below ↓

Question

Hi Artur,

First of all grapesjs is awsome!

At the moment i am trying to puzzle together how to create a pannel with a button that opens a new view, like the blocks and layermanager buttons do. I want to render my own set of items in that new view. I am looking at the code you use to open those views but that uses the managers to render the items. it is also a bit unclear what all the code does.

It would be great to have some more documentation on this subject.

Answers (3)

👍 Most helpfuldaniel-farinaOctober 6, 2017

A good practice to get familiar with GrapeJS would be to attempt to duplicate the blocks manager and create your own. You can accomplish that by editing the files below. A good example would be to copy the src/blockmanagerand call it src/sectionmanager, then rename all the names from BlockManager t...

MoikapyMay 30, 2018

Hey, was looking into doing something similar and found this here. Was wondering if there is any documentation further explaining the process of creating new views.

artfOctober 5, 2017

Hi @RuudH thanks for the suggestion, I hope to publish soon something more about this argument. For now, I can only suggest you check commands used for those panels (eg. OpenBlocks)

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.