HTML Editor - New fonts added to tinyMCE does not show up in the font selection list

Tigermomdr
Tera Contributor

We need to add new fonts to the HTML Editor. I tried to modify glide.ui.html.editor.v4.font.collection by adding a new fonts Montserrat=Montserrat;, remove fonts and rearrange the order in the string. Nothing seems to make any difference, it seems like I am not updating the right file, but glide.ui.html.editor.v4.font.collection is what is listed in the UI properties. Any thought on what else to check?

We are on Utah release, below are the screenshots:

Tigermomdr_0-1699296836619.png

Tigermomdr_1-1699296868266.png

 

 

 

7 REPLIES 7

harishPRP
Tera Contributor

Try having your font mentioned in lowercase after the = symbol and move it up if possible. Maybe the list is truncating. 

 

Please mark solved or helpful if so.

I changed the font to lower case and moved it to the front of the font string but it did not make any differences. 

Tigermomdr_0-1704231534556.png

Tigermomdr_1-1704231570944.png

 

 

Michael Jones -
Giga Sage

Try adding your font to the property "glide.ui.html.editor.v5.font.collection" instead of v4. I can't recall when they switched exactly, but as of Tokyo anyway, the v5 version seems to be the one in use. If you don't have that property on your instance, you might try creating it. 

 

Also, as a work-around you can add fonts directly within the HTML body of a field. You can use the example here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754969

If you paste the top part directly into the source you can see the results when you save. 

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Thanks Michael, adding font to glide.ui.html.editor.v5.font.collection makes the font available in case detail

Tigermomdr_0-1704304205064.png
However, the font does not seem to be available when composing an email, any idea what else to update? Thanks,

Tigermomdr_1-1704304634739.png