Search results

Customize the placeholder style

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

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

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