GrapesJS / components-forms

Set of form components and blocks for the GrapesJS editor
BSD 3-Clause "New" or "Revised" License
70 stars 58 forks source link

Cannot to override block's category properties #24

Closed abolabo closed 2 years ago

abolabo commented 3 years ago

Hi. I tried to made category of form component collapsed via pluginOpts property inside init() but i can't.

Please see this line https://github.com/artf/grapesjs-plugin-forms/blob/d4ceea9ec299f4b87a7a130ececdf338ed1268c0/src/blocks.js#L18 Looks like i cannot to override it with pluginOpts : { 'grapesjs-plugin-forms': { category : { id: 'forms', label: 'Forms', open: false } } }

Other plugins under your github have no this issue.

Regards

artf commented 2 years ago

Added new options to the plugin https://github.com/artf/grapesjs-plugin-forms/releases/tag/v2.0.5