Grapesjs: [Question] How to add toolbar functionality to the layers panel.

Created on 31 Oct 2019  路  4Comments  路  Source: artf/grapesjs

I am trying to add the toolbar to the layers panel and I am not sure how to go about this.

Is there any way to accomplish this?

toolbar
toolbaricons

Where I would like to place them:

layersPannelGrapesJS

Thank you for your response guys!

enhancement help wanted

Most helpful comment

At the moment, there is no easy way to change/customize navigator items content.

What we could add next is a new callback option in configs that would be executed inside ItemView template and would allow any HTML content (similar to custom render in Blocks)

I don't have any priority on this so PRs are welcome

All 4 comments

Hi there! what do you mean by toolbar? is this what you are looking for?

@pouyamiralayi This is what i mean
updatedTBimg

@artf Is there a way to do this? I was looking at the LayerManager and didn't see any copy/delete methods in the layer manager

At the moment, there is no easy way to change/customize navigator items content.

What we could add next is a new callback option in configs that would be executed inside ItemView template and would allow any HTML content (similar to custom render in Blocks)

I don't have any priority on this so PRs are welcome

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Geczy picture Geczy  路  18Comments

josefph picture josefph  路  60Comments

artf picture artf  路  17Comments

fzs1994 picture fzs1994  路  15Comments

Geczy picture Geczy  路  22Comments