Placeholder demo占位符演示文档
The placeholder plug-in adds an option 占位符插件添加了一个可选的placeholder
that can be set to make text appear in the editor when it is empty and not focused.placeholder
,它可被设置为当编辑器是空的,没有焦点时,使编辑器里出现文本。
If the source textarea has a 如果源textarea文本域具有一个placeholder
attribute, it will automatically be inherited.placeholder
,它会被自动继承。