Search results

Customize placeholder style in ASP.NET Core RichTextEditor control

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

tagHelper
controller.cs
<ejs-richtexteditor id="placeholder" placeholder="Type Something"></ejs-richtexteditor>
<style>
    .e-richtexteditor .e-rte-placeholder {
        font-family: monospace;
        color: deeppink;
    }
</style>
public class HomeController : Controller
{

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