Knowledge Article template field issue

JohnnySnow
Kilo Sage

Hi Team,

 

I have recently created a knowledge article template, it has 2 fields and have set default font & size to Public Sans & size 12pt(through the configure dictionary option).

JohnnySnow_0-1708998669310.png

JohnnySnow_1-1708998718998.png

 

 

It seems to work fine. But, if the user changes the font size to something else as shown below

JohnnySnow_2-1708998845718.pngJohnnySnow_3-1708998860272.png

then press enter, it reverts to verdana 8pt

JohnnySnow_4-1708998920876.png

 

where do I change this setting? so that it always remains Public Sans 12

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.
4 REPLIES 4

Allen Andreas
Administrator
Administrator

Hi,

Unfortunately, I don't think you can permanently limit the font types or sizes or set a default (other than adjusting the dictionary default for the field), but as you've seen, it can be changed after the user enters text and makes various adjustments.

 

I can understand your concern here and the need to have proper governance around article formatting, but this will have to most likely be a step that is reviewed within your governance process. Checking font type, size, formatting, spacing, etc. are normally things that would need to be double-checked.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi @Allen Andreas , I understand, while working on this I found other issue. I changed the text to HEADING 1, but it didnt change the size, (check below)

JohnnySnow_0-1709074200765.png

when I checked the source code, the H1 tag is also taking up the style. Any idea why?

JohnnySnow_1-1709074287948.png

whereas the HEADING 2 has proper size

JohnnySnow_2-1709074328813.pngJohnnySnow_3-1709074341139.png

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

Hi,

So I did a few tests on my end in a brand new Vancouver PDI:

 

 

AllenAndreas_2-1709128954608.png
AllenAndreas_3-1709128967112.png

 

What version of the platform are you on? Have you done any of adjustments to this field or knowledge article css, etc.? Please see the above screenshots for me for how things turned out.

Paragraph default for me is 8

H1 is 22

H2 is 12

H3 is 12.87?

H4 is 8

H5 is 7

H6 is 7.37?

Preformatted is 8

 

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

@Allen Andreas , Yes the client wanted the default font to be Public Sans with 12pt size, which I did configure in the dictionary of that template field. (I'm on Utah version)

JohnnySnow_0-1709156355904.png

Also, I have set the Heading & field style on the article template fields as below.

JohnnySnow_1-1709156416195.png

 

I guess in your case it worked fine as you didnt have the default and other field styles.

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.