GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

[Question] How to add a plugin like line-height to ckeditor in grapesjs? #2386

Closed navewi closed 4 years ago

navewi commented 4 years ago

I can't figure how to add line height to ckeditor. I read the documentation from ckeditor and did all the steps they're providing to add the ckeditor-plugin, but the icon ist not showing in toolbar and I am not even sure if the line-height plugin ist loaded.

Can somebody help me or added a plugin to ckeditor within grapesjs successfully ?

navewi commented 4 years ago

Okay Nevermind. I had an character mistake "=" instead of ":" in the config.

For everyone with the same problem: To add a ckeditor plugin in grapesjs add the extraPlugins Command in the plugin options in the init function:

[....] 'grapesjs-plugin-ckeditor' : { options: { language: 'de', toolbar: [... ], extraPlugins: 'lineheight', } },