Search results

Customize placeholder style

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

@using Syncfusion.EJ2.Blazor
@using Syncfusion.EJ2.Blazor.RichTextEditor

<EjsRichTextEditor Placeholder="Type Something" />

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

The output will be as follows.

Placeholder Edit