Customize the placeholder style

17 Feb 20221 minute to read

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

@Html.EJS().RichTextEditor("placeholder").Placeholder("Type Something").Render()
<style>
    .e-richtexteditor .e-rte-placeholder {
        font-family: monospace;
        color: deeppink;
    }
</style>
public class HomeController : Controller
{

    public ActionResult Index()
    {
        return View();
    }
}