Skip to main content
Solved

How to set a default Font and Fontsize on a column with HTML-editor?


Dennis van Leeuwen
Hero
Forum|alt.badge.img+12
Is it possible to set a default Font and Fontsize on HTML-fields in the application? Default the HTML-editor use:

  • Segoe UI (9)


I would like to use as default settings Calibri Light (10).

Best answer by Anne Buit

Hi Dennis,

If you assign this template to the subject with the HTML field and you ensure the variable used to indicate the html field (@html_data) is changed to your html column id, it should work.

Keep in mind that the default logic will fire the moment you leave the field. The user will see the default font until then.
View original
This topic has been closed for comments

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • April 26, 2019
Hi Dennis,

The HTML editor uses the UI font by default. This is not stored with the value, so if the UI font changes, the data in HTML controls will change accordingly.

There is currently no setting to force a specific font in the HTML control. However, you could use default logic to forcibly set the font.


Dennis van Leeuwen
Hero
Forum|alt.badge.img+12
Hi Anne,

Thanks for the answer. Can you explain a little bit more which steps I need to follow to implement and assign this part of code by using the Software Factory?


Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • April 29, 2019
Hi Dennis,

If you assign this template to the subject with the HTML field and you ensure the variable used to indicate the html field (@html_data) is changed to your html column id, it should work.

Keep in mind that the default logic will fire the moment you leave the field. The user will see the default font until then.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings