GrapesJS / react

Other
95 stars 16 forks source link

How to add plugin options ? #5

Closed MrVibe closed 7 months ago

MrVibe commented 7 months ago

trying to integrate https://github.com/silexlabs/grapesjs-fonts , but I could not locate any documentation on how to add pluginOptions into this implementation of Grapes React.

MrVibe commented 7 months ago

plugins={[ { id: 'gjs-blocks-basic', src: 'https://unpkg.com/grapesjs-blocks-basic', }, { id: 'gjs-plugin-forms', src: 'https://unpkg.com/grapesjs-plugin-forms', }, { id: 'grapesjs-tailwind', src: 'https://unpkg.com/grapesjs-tailwind', },{ id: '@silexlabs/grapesjs-fonts', src: 'https://unpkg.com/@silexlabs/grapesjs-fonts', options:{ api_key : 'XXXXX' } } ]}