Add custom color to ckeditor of hippo cms

281 Views Asked by At

How do I add a custom colour to ckeditor in hippo cms? I've gone through tutorials and documentation of both, Hippo CMS and CKEditor but saw that config.js file is missing in the present project. After going through the documentation all I was able to find was: -> ckeditor-optimized.jar file in which I'm unable to add plugins -> plugin folder which does not contain colorbutton, even though it shows in the ckbuilder that it is present.

1

There are 1 best solutions below

2
Jasper Floor On BEST ANSWER

"color button" is packaged with the Bloomreach CKeditor instance. It is disabled by default. According to [1] you can enable it by adding

{
  extraPlugins: 'colorbutton'
}

to the ckeditor configuration [2]

[1] https://documentation.bloomreach.com/library/concepts/document-types/html-fields/ckeditor-plugins.html [2] https://documentation.bloomreach.com/library/concepts/document-types/html-fields/ckeditor-configuration-properties.html