HTML5 like placeholder

蓝咒 提交于 2019-11-29 08:45:05

问题


Is there a plugin or built-in functionality for CKEditor 4.x that would act like HTML5 input/textarea placeholder?

Only thing I found is http://ckeditor.com/addon/placeholder, but that seems to be something a lot different.


回答1:


You can use the configHelper plugin.

Demo: http://alfonsoml.blogspot.com.es/2012/04/placeholder-text-in-ckeditor.html



来源:https://stackoverflow.com/questions/16558310/html5-like-placeholder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!