Is it possible to permanently add custom color codes to Rich HTML editor color palette?

Brian Bouchard
Mega Sage

We have some custom color codes that we are applying to a large number of items as part of a rebranding effort in our ServiceNow environment. The color codes were selected specifically to match corporate color codesm so they don't match the standard color palette colors available in the Rich HTML Editor. This means for each piece of the notification we need to update, we have to go in and manually enter the HEX color code.  I'm wondering if there is a way to modify the color palette to pre-define these custom color codes so that we can more easily make these updates by clicking on the Custom Colors row instead of editing the Hex code each time:

find_real_file.png

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi Brian,

this functionality is available only starting from the TinyMCE field editor version 4.1.0.

Unfortunately ServiceNow London release is using the version 4.0.26 (see below).

The editor is part of the platform. If there is something you feel you require, I invite you to open an enhancement request:

Enhancement requests: Tell us how you would improve the ServiceNow product

However, feel free to try add your custom Client Script to inject your pre-defined custom color palette to the TinyMCE using javascript (I'm not sure it will work cause I've never tried it before):

Custom Color Picker TinyMCE

Hope this will help to fit your need.

Please, remember to mark Correct or Helpful if you find my response useful.

Cheers
Alberto

find_real_file.png

View solution in original post

5 REPLIES 5

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi Brian,

this functionality is available only starting from the TinyMCE field editor version 4.1.0.

Unfortunately ServiceNow London release is using the version 4.0.26 (see below).

The editor is part of the platform. If there is something you feel you require, I invite you to open an enhancement request:

Enhancement requests: Tell us how you would improve the ServiceNow product

However, feel free to try add your custom Client Script to inject your pre-defined custom color palette to the TinyMCE using javascript (I'm not sure it will work cause I've never tried it before):

Custom Color Picker TinyMCE

Hope this will help to fit your need.

Please, remember to mark Correct or Helpful if you find my response useful.

Cheers
Alberto

find_real_file.png

Brian Bouchard
Mega Sage

Thanks Alberto.  I suspected as much, but your response confirmed for me.

You're welcome..

Cheers

Alberto

ryanhill
Giga Contributor

I thought a newer version of TinyMCE was already in previous versions of ServiceNow. https://community.servicenow.com/community?id=community_question&sys_id=969f322ddb58dbc01dcaf3231f96...

Did this get "downgraded" at some point?

I appreciate the suggestion to request an enhancement, but it seems like this should not require a request to keep the tool up to date, especially if a feature like saving your custom colors has been added. I don't personally have access to the HI portal, so I'll have to pass this request on to our dev team, and hope that they submit the enhancement request.