2
我正在寻找一个插件或实现,以在tinymce编辑器中包含类似HTML5的placeholder
文本,但没有成功。你是如何存在的?或者我如何实现这个功能?tinymce编辑器的占位符插件
究竟如何,我可以做的CKEditor:
http://alfonsoml.blogspot.it/2012/04/placeholder-text-in-ckeditor.html
我正在寻找一个插件或实现,以在tinymce编辑器中包含类似HTML5的placeholder
文本,但没有成功。你是如何存在的?或者我如何实现这个功能?tinymce编辑器的占位符插件
究竟如何,我可以做的CKEditor:
http://alfonsoml.blogspot.it/2012/04/placeholder-text-in-ckeditor.html
您正在寻找在this SO question的回答是什么,应该为你工作了。
您能描述_placeholder plugin_的功能吗? –
像这样:http://alfonsoml.blogspot.it/2012/04/placeholder-text-in-ckeditor.html。如果编辑器内容为空,并且用户将注意力集中在编辑器上,它会一直消失,我会希望默认情况下出现一个简单的“在此处插入内容”文本。如果用户对编辑器的注意力不集中,并且内容为空,则必须重置默认文本 – paganotti
[通过从textarea读取属性可以复制Tinymce html5占位符](http://stackoverflow.com/questions/12693989/tinymce-html5-placeholder-通过读取属性从 - textarea的) – moffeltje