Search results

Customize placeholder style in Blazor RichTextEditor component

By using e-rte-placeholder class, you can customize the placeholder style.

@using Syncfusion.Blazor.RichTextEditor

<SfRichTextEditor Placeholder="Type Something" />

<style>
    .e-richtexteditor .e-rte-placeholder {
        /* placeholder style */
        font-family: monospace;
        color: deeppink;
    }
</style>

The output will be as follows.

Placeholder Edit