Set Default Font Size on Knowledge Articles not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2023 08:00 AM
I have a request to force specific font style and font size on a couple of HTML fields within knowledge article form. So I thought this will be a simple one. I followed these steps:
Right click on the field name and select 'Configure dictionary'
In the default value field I entered:
<p><span style="font-family: verdana; font-size: 10pt;"> </span></p>
It seems to work, the only problem I can see is if we delete all text than it switches back to system default font size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2023 09:37 AM - edited ‎05-22-2023 09:37 AM
I'm afraid you will have to live with that as it's not possible to start with a totally empty field and have a default font, if you first delete all content as the editor will not accept an empty paragraph tag that only has a font size in it. By removing all the content you are effectively removing the <p> tag which sets the default font, that is why the   is there.
If helpful please mark as Helpful/Correct.
Regards
Paul