Font Size for bullet list and numbered list is not consistent using default command to insert them in RadRichTextBox

0 Answers 16 Views
RichTextBox
Patrick
Top achievements
Rank 1
Patrick asked on 19 Sep 2025, 03:52 PM
When inserting bullet and number lists using the built in options for a telerik rad rich text box. The font size appears to be different.



I can correct it by changing font size to something else and changing back to what I want. I have default font size set to 12 and font family set to times new roman for the radRichTextBox. Any ideas?
Martin Ivanov
Telerik team
commented on 22 Sep 2025, 01:29 PM

I've tested this in the Telerik Editor example from the WPF Demos application, but couldn't recreate the described problem. Can you tell me what exactly you do to get this effect (step by step)? Also, would it be possible to share a small sample showing your RadRichTextBox setup? This way I can test it and investigate what happens.
Patrick
Top achievements
Rank 1
commented on 22 Sep 2025, 05:43 PM

I cannot provide code for security reasons. So let me explain the issue. I have found the cause. I enter the lists into a Rich Text Box. User can save that entry. The entry is saved VIA storing the RadDocument into a JSON file. The RadDocument save does not save the fontsize for that span. For example, 1. asd is saved as <t:Span Text=\"asd\" />.

When I explicitly change font size from 12 to 11 and back to 12. It is saved as:       <t:Span FontFamily=\"Times New Roman\" FontSize=\"xx\" Text=\"asd\" />.

So the radDocument is not storing the font family or font size of the items in the list.
Patrick
Top achievements
Rank 1
commented on 22 Sep 2025, 05:45 PM

I have default font family and fontsize that I am setting for the RichTextBox. But it doesn't seem to be storing that information when I use the XAMLProvider and extract the RadDocument.

No answers yet. Maybe you can help?

Tags
RichTextBox
Asked by
Patrick
Top achievements
Rank 1
Share this question
or