How to display placeholder attribute in HTML5 text area when activating CKEditor?

I have textarea on an HTML5 website with the corresponding attribute placeholder = "Sample text". It displays well until I add RichText support through CKEditor. The CKEditor GUI recreates the text field and does not display the placeholder text inside. Is there a way to show placeholders in CKEditor or toggle some configuration options?

+3
source share
1 answer

You can use the new version of the configHelper plugin: http://alfonsoml.blogspot.com.es/2012/04/placeholder-text-in-ckeditor.html it will automatically use the placeholder attribute of your text field

+2

All Articles