TinyMCE - Custom colours

Max Hanssen1
Giga Contributor

Hello everyone,

Got a quick question regarding the TinyMCE editor; there is an option to set custom color(s) for the Text Color and Background Color.  In my scenario, it's mostly for Knowledge Articles however I suspect the behavior will be the same for any HTML fields used in the platform.

find_real_file.png

However, after clicking on Custom... and setting your color values.  Then saving the article / going to another article.  The custom color disappear.

Anyone observed the same behavior?  And/or knows how to make this work?  If we can't make it work, would it be possible to remove the option all together to avoid "false advertising"?

I'm on Kingston in case it makes a difference.

9 REPLIES 9

Bryan Tay3
Mega Guru

hi there, 

check that in Kinston is has "TinyMCE v.4.0.26" which does not have the capabilities to show last chosen custom color.

where the newer version of TinyMCE has this feature (i guess).

http://archive.tinymce.com/develop/changelog/?type=tinymce

find_real_file.png

Hope this helps.

Thanks for the quick response Bryan.
I am on "TinyMCE v.4.0.26" (according to my System UI Properties)

hey Max, 

think OOTB does not have that feature, perhaps u can add your custom client script to inject your pre-defined custom color palette to the TinyMCE using javascript.

https://stackoverflow.com/questions/15667207/custom-color-picker-tinymce

hope this helps.

I tried in a new developer instance (on kingston) and I have the same functionality that I originally described.
I'll take a look at your stack overflow link.