mjawad096 / laravel-grapesjs

This package provide an esay way to integrate GrapesJS into your laravel proejct.
MIT License
107 stars 54 forks source link

How can I change order of right toolbar blocks ? #38

Closed sergeynilov closed 2 years ago

sergeynilov commented 2 years ago

Hello, using laravel-grapesjs "3.3.0" I have several blocks of data “Extra”, "Basick", “Forms”, “Templates” and custom blocks, which are based on “grapesjs-tailwind”. If there is a way to change order of these blocks ? 1) I need to show custom blocks at top and “Extra”, "Basick", “Forms” below... 2) I need to show some custom blocks with opened elements , but all “Extra”, "Basick", “Forms” closed...

How can I do it ?

Thanks!

sergeynilov commented 2 years ago

As functionality I request is not standart for laravel-grapesjs plugin could you please give a hint in which files can I apply modifications ? I have some expierence in manuall editing of grapesjs javascript files....

ghost commented 2 years ago

@sergeynilov you can simply create a new plugin and add your code to that plugin.

I've explained how to add the plugin here