Customize the placeholder style
17 Feb 20221 minute to read
By using e-rte-placeholder
class, you can customize the placeholder style.
<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();
}
}