emencia / cmsplugin-blocks

A set of DjangoCMS plugins for structured contents in CMS pages
https://cmspluginblocks.readthedocs.io/
MIT License
2 stars 0 forks source link

TextEditorWidget does not use CMS config #7

Closed sveetch closed 5 years ago

sveetch commented 6 years ago

TextEditorWidget widget used in Hero, Card and SlideItem does not use the CKeditor config from djangocms-ckeditor.

sveetch commented 6 years ago

In fact, every TextEditorWidget widgets use the config name "HTMLField" on default, so it can easily be fixed if you duplicate the base config to the "HTMLField" one :

CKEDITOR_SETTINGS["toolbar_HTMLField"] = CKEDITOR_SETTINGS["toolbar_CMS"]

Finally it is not really a bug but a correct behavior, i'm not sure i should try to change it with complicated solution. I may instead, document it, i keep this issue opened to remember it.