[CKEditor.Reactive] Text color and text background color is missing

Forge Component
(1)
Published on 31 Mar (8 days ago) by David Farinha
1 vote
Published on 31 Mar (8 days ago) by David Farinha

Text color and text background color is missing. Tried different config but unable to get it work.

Solution

Hi George,

The reason it does not work is that the CKEditor.Reactive component does not have the assets loaded for the colorbutton plugin which allow you to select font and background color.

You would have to

  •  download the correct version of the plugin (4.11.4 in this case)
  • Add the icons, and plugin file in the CKEditor.Reactive resource tab. For each imported file you have to 
    • set the Deploy Action to Deploy to Target Directory
    • set the path to Target Directory to  .\ckeditor\plugins\colorbutton for the plugin.js 
    • set the path to Target Directory to  .\ckeditor\plugins\colorbutton\icons for the icons
    • set the path to Target Directory to  .\ckeditor\plugins\colorbutton\icons\hidpi for the hdpi icons

In your application you will have to register the extra plugin: extraPlugins: 'colorbutton'

Regards,

Daniel

Solution

Thanks Daniël for your help in this question. 

@George,

I published a new version 1.0.3 that includes this color button plugin suggest by Daniël. If you go to the demo you will be able to see this working on the second tab (Classic Editor with Word Count)


Regards

Fabio


Hi Fabio,

That is some great community commitment!

Thanks.

Thank you, Fabio and Daniel,


Much appreciated for your help. 


Cheers, 

George Qiao