如何在激活CKEditor或点击编辑时在HTML5 textarea中显示placeholder属性
<textarea id="historyDescription" class="ckeditor" name="historyDescription" placeholder="historyDescription" contenteditable="true" spellcheck="true"> </textarea>
当点击编辑占位符文本时应该显示
最佳答案
您可以使用 Configuration Helper插件来获得这种行为。只需将插件添加到您的构建中,它就会自动运行。
关于javascript - CKEditor激活时如何显示占位符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39411172/