占位符图标应该自动显示在工具栏中,但它不会。其他一切工作都很好。这是一个非常简单的实现。为什么缺少?CKEditor占位符图标不显示在工具栏中
JAVASCRIPT CONFIG文件
CKEDITOR.editorConfig = function (config) {
config.height = 500;
config.toolbar = 'MyToolbar';
config.extraPlugins = "placeholder";
config.extraPlugins = "widget";
};
HTML
<textarea id="editor1" cols="80" name="editor1" rows="10">Hello world</textarea>
<script>
CKEDITOR.replace("editor1", {});
</script>