The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
In testing the newest Beta, I find that for the RichTextEditor control, if you set the Font property to a Font, and then run the Web application, the control ignores what should be this new default Font setting, and displays any text typed into the text box apparently in Times Roman.
I also tried setting the Font and size in code. For example, I placed the following code within the Page_Load:
The control likewise ignored this setting as well.
I checked your knowledgebase, and found that there was a single posting dealing with how in code to add "custom tools to the Editor Control." This knowledge base article stated that the following code could be used:
I tried this as well. The first line in adding the Font was allowed by the control, but had no affect at run time either alone or when used in conjuction with the prior line I offered:
The second line of code offered in the knowledgebase article was even less successful:
RichTextEditor1.NamedSize.Add("3")
The above line of code returns an Error when compiled that "NamedSize" is not a member of "Syncfusion.Web.UI.WebControls.Tools.RichTextEditor."
I did see that when the control is running, you can set the Font at that time from the toolbar, and indeed then that Font setting is respected and used.
However, in this case, I had hoped to set the Font in advance and have no toolbar's showing on the RichTextEditor. The control apparently does not support the Font property at this time as programmers have come to expect.
Is this forum where I should be reporting apparent bugs? Could you please tell me (a) if this condition is to be corrected, and (b) when I might see this correction?