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.
Is there any chance I can override the list or add new option to font size list for Stimulsoft Designer component?
Cheers
How to update font size list
-
- Posts: 8
- Joined: Sun Jan 19, 2025 9:45 pm
-
- Posts: 7295
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to update font size list
Hello,
We have added this task to our to-do list.
Thank you.
#16561
We have added this task to our to-do list.
Thank you.
#16561
-
- Posts: 7295
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to update font size list
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.
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.
- Attachments
-
- photo_2025-01-30_10-29-24.jpg (150.71 KiB) Viewed 5872 times