Hi Revanth,
Thanks for the update. I was just thinking about this feature implementation since it is some how important in my project, but I understand that there are other priorities so I will have to wait a bit longer. Anyway, thanks again and keep up the excellent work you guys are doing with Blazor components and congratulations on all the awards Syncfusion received. Very well deserved.
Best regards,
Ben Junior
Hi Ben,
Thanks for your patience,
We have now improved the “The table custom styles configuration” with the package version 19.3.48. Check the below-shared sample for reference. It is mandatory to configure the SubCommand for the DropDownItemModel, when using the built-in table styles or custom style. For the customized text, based on the SubCommand the functionalities will be performed.
For the usage of the Dashed border, Alternate rows and Custom styles use the below configurations
@using Syncfusion.Blazor.RichTextEditor <SfRichTextEditor> <RichTextEditorTableSettings Styles="@StyleItems" /> </SfRichTextEditor> <style> .e-rte-content .e-rte-table.e-no-border td, .e-rte-content .e-rte-table.e-no-border th { border-style: none; background-color: yellow; } </style> @code { private List<DropDownItemModel> StyleItems = new List<DropDownItemModel>() { new DropDownItemModel() {Text = "Dashed Borders", SubCommand="Dashed" }, new DropDownItemModel() {Text = "Dashed Different Spelling", SubCommand="Dashed" }, new DropDownItemModel() {Text = "No Border", SubCommand="Custom", CssClass = "e-no-border" }, }; } |
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RichTextEditor_Test-306371406
Can you please check the above-shared sample and let us know if you face any difficulties?
Regards
Gunasekar