Inline Mode in Blazor RichTextEditor Component

13 Dec 20211 minute to read

This is the inline example for the Rich Text Editor. For this, you must set the RichTextEditorInlineMode property. Inline editing allows to select any editable element or click the element on the page and edit it in-place. Inline editing is a true WYSIWYG formation and on the contrary to Rich Text Editor HTML/MD editing, the styles that are used for edited content comes directly from the document stylesheet. This means that inline editors ignore the default Rich Text Editor content styles.

Show on select/click

Enabling the ShowOnSelection option of RichTextEditorInlineMode makes the inline Rich Text Editor to appear. You can select the text in the editable area, otherwise the inline Rich Text Editor will be appeared after clicking the editable area.

@using Syncfusion.Blazor.RichTextEditor

    <RichTextEditorInlineMode Enable="true" ShowOnSelection="true" />
    <p>The sample is configured with inline mode of editor. Initially, the editor is rendered without a
    <a href='' target='_blank'>toolbar</a>. The toolbar becomes visible only when the content is selected.</p>

Enabling Selection in Blazor RichTextEditor

You can refer to our Blazor Rich Text Editor feature tour page for its groundbreaking feature representations. You can also explore our Blazor Rich Text Editor example to know how to render and configureĀ the rich text editor tools.

See Also