Default Paragraph Font Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 09:06 AM
Our text editor for knowledge articles normally defaults to Verdana 9pt for paragraph text, but for some of our team members, it is Verdana 8pt. We cannot seem to figure out why or how to change this.
The interesting part is that if the html in the article is just '<p>text</p>' then I see that as Verdana 9pt and they see it as Verdana 8pt. But, if I change the html to '<p style="font-size:9pt;">text</p>' then we both see it as Verdana 9pt. At first, I thought this could be a browser setting and not SNOW, but I cannot figure this out. I know how to change the default value for the dictionary, but that is not really my issue.
Thanks for any help.
- Labels:
-
font
-
font size
-
html
-
text editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 09:55 AM
I want to say that the upgrade of the Tiny MCE in Tokyo was supposed to allow this - but I can't find where that information may have come from (maybe an Idea that I saw?).
Anyway, another option is to use a custom template that sets the font upon publication no matter what is used in the field when editing. The drawback to using KB templates is that the article cannot be switched between templates in the future - they have to be recreated as a new article, with a new KB#, and the 'old' article in the old template is retired. This is yet another Idea that is out there already for ServiceNow to consider allowing the switch of template for existing articles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2022 02:54 PM
Found this documentation:
Tried it in our instance and I was able to set the default font family and size for the KB fields.
The documentation only shows how to set the size, but you can set the Font too (Arial in the example) using this code:
<p style="font-family: arial, helvetica, sans-serif;"></p>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 10:06 AM
@Joe85 and @Vickie Runyon
Have you seen Amaze, It is a certified ServiceNow app that let's you create absolutely stunning KB articles without any limitations of TinyMCE. Plus easy settings to load brand colors, styles, AI and much more.