- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi team,
We have a requirement to set default KM HTML editor fonts as described below: Is there any method available to implement this feature.?
Main font - Arial 12
H1 font - Arial 18 bold
H2 font - Arial 14 bold
H3 font - Arial 12 bold
Regards,
Saranya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @saranyavs ,
try this go to the article body dictionary entry and add this in the default value
<style>
p{
font-family: arial, helvetica, sans-serif;
font-size: 12pt;
}
h1,h2,h3{
font-family: arial, helvetica, sans-serif;
font-weight: bold;
}
h1{
font-size: 18pt;
}h2{
font-size: 14pt;
}h3{
font-size: 12pt;
}
</style>
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @saranyavs
May you use an Article template to pre-configurate your fonts
You can create a KM Article Template with your preferred font and size applied to the body text.
When a user creates a new article using that template, the content will already have the formatting.
Limitation: this only applies to new articles created from the template. It won’t change the editor’s actual default font.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @saranyavs ,
try this go to the article body dictionary entry and add this in the default value
<style>
p{
font-family: arial, helvetica, sans-serif;
font-size: 12pt;
}
h1,h2,h3{
font-family: arial, helvetica, sans-serif;
font-weight: bold;
}
h1{
font-size: 18pt;
}h2{
font-size: 14pt;
}h3{
font-size: 12pt;
}
</style>
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya