Page 1 of 1

How to update font size list

Posted: Tue Jan 28, 2025 11:11 am
by nirav.blitzm
Hi there,

I would like to add new font sizes when formatting text content as HTML. The current font size list is missing 9pt, 11pt, 13pt and I require those options on dropdown.
Screenshot 2025-01-28 at 9.56.37 pm.png
Screenshot 2025-01-28 at 9.56.37 pm.png (92.08 KiB) Viewed 5978 times
Is there any chance I can override the list or add new option to font size list for Stimulsoft Designer component?

Cheers

Re: How to update font size list

Posted: Tue Jan 28, 2025 10:21 pm
by Lech Kulikowski
Hello,

We have added this task to our to-do list.

Thank you.
#16561

Re: How to update font size list

Posted: Thu Jan 30, 2025 9:32 am
by Lech Kulikowski
Hello,

We use the standard wysiwyg editor supported by browsers.
If you look at the documentation, the document.execCommand(“fontSize”, false, 1 - 7) only accepts values from 1 to 7, which corresponds to discrete font sizes [xx-small, x-small, small, medium, large, x-large, xx-large, xxx-large, xxx-large].

Thank you.