How do I add placeholder text to TinyMCE?

user1556571 picture user1556571 · Dec 1, 2014 · Viewed 22.9k times · Source

For standard textareas, I use placeholder="" . How can I extend tinymce so that it also works in this way.

Similar to this for CKEditor: http://alfonsoml.blogspot.com.es/2012/04/placeholder-text-in-ckeditor.html

Answer

Ryan Ahearn picture Ryan Ahearn · May 20, 2015

The placeholder plugin worked great for me. This plugin brings HTML5 placeholder attribute functionality for the TinyMCE editor.