How do I add font sizes to the HTML field?

Carl Fransen1
Tera Guru

Hi Team,

Hoping a simple one for you all today.  I would like to add a number of 'font sizes' to the HTML field dropdown - I can add new fonts by updating a property, but haven't found where I can the sizes?

OOTB the sizes seem random - as you can see if you create a question, or reply, it he community itself, the sizes go from 18pt to 24 pt, I'd like to add the 20 and 22pt fonts to this list.

Any help is appreciated.

 

Cheers

Carl.

1 ACCEPTED SOLUTION

Carl Fransen1
Tera Guru

Hi All,

I logged this with HI and their answer is below:

After further looking into this, I am afraid to say that unfortunately, the configuration of the TinyMCE editor is not customizable on our end. The version of TinyMCE (v4) only has a pre-defined set of font sizes to choose from. Tiny MCE Madrid Documentation: https://docs.servicenow.com/bundle/madrid-platform-administration/page/use/using-forms/concept/c_UseHTMLFields.html You can manually set this from source code, by clicking on the "<>" icon. This could be a great candidate for a enhancement request. I can open up a enhancement request for the you, however it carries more weight when a customer opens the request. The reason is you have more detailed information on the use case and business case that the form asks.

It would be great if others could also log Enhancement Requests for this issue so we can have more customer requesting this functionality in a future version.

 

Thanks

Carl.

View solution in original post

10 REPLIES 10

Go ahead and log a HI ticket and see what they have to say about this.

I would be interested to hear the response from HI.

Good Luck!

 

Cheers

Prateek


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Hi Carl,

Did you already found the solution how to add a font size? We are facing a similar issue.

Thank you for reply

Hi Alexander - unfirtunately no I haven't found a solution for this and it doesn't look like ServiceNow is gong to imprve this anytime soon.  Check ot the 'Idea portal' on the community to see if there are ones with this already and I'd suggest to up-vote ones that match your requirements.  I did this again just a few days ago to try and raise the profile of this issue.

Cheers Carl.

Carl Fransen1
Tera Guru

Hi All,

I logged this with HI and their answer is below:

After further looking into this, I am afraid to say that unfortunately, the configuration of the TinyMCE editor is not customizable on our end. The version of TinyMCE (v4) only has a pre-defined set of font sizes to choose from. Tiny MCE Madrid Documentation: https://docs.servicenow.com/bundle/madrid-platform-administration/page/use/using-forms/concept/c_UseHTMLFields.html You can manually set this from source code, by clicking on the "<>" icon. This could be a great candidate for a enhancement request. I can open up a enhancement request for the you, however it carries more weight when a customer opens the request. The reason is you have more detailed information on the use case and business case that the form asks.

It would be great if others could also log Enhancement Requests for this issue so we can have more customer requesting this functionality in a future version.

 

Thanks

Carl.

Did this enhancement ever get traction?  I'm looking to add a font size to the drop down currently as well.  Thank you!