How to remove formatting from Rich Text Editor (RTE)

How can I add a custom toolbar command to remove all of the formatting from the content?


1 Reply

VY Vinothkumar Yuvaraj Syncfusion Team June 29, 2023 09:35 AM UTC

Hi Barry,


We would like to inform you that we have a "ClearFormat" toolbar item. This tool is useful for removing all formatting styles from the currently selected text, such as bold, italic, underline, colour, superscript, subscript, and more. Consequently, all the text formatting will be cleared, and it will return to its default styles.


Documentation : https://blazor.syncfusion.com/documentation/rich-text-editor/tools/built-in-tools


You can refer to the following documentation to add the custom toolbar to the Rich Text Editor. Please see the provided documentation and attached sample for reference.


Documentation : https://blazor.syncfusion.com/documentation/rich-text-editor/tools/custom-tool


Regards,

Vinothkumar


Attachment: BlazorApp1_a8978eb3.zip

Loader.
Up arrow icon