我用的是Bootstrap-4和CKEditor5。我有一个项目,我使用框架之上的一个文本区域-现在我回到它,看到REMOVE FORMAT - button消失了。
我查看了CKEditor5的主页(URL:https://ckeditor.com/docs/ckeditor5/latest/features/remove-format.html),发现remove format - button仍然存在,但不在我的项目中,如下所示:
在网站上:

在我的项目中:

我怎样才能解决这个问题?
附加信息:我在我的项目中加载它,如下所示:
<script src="https://cdn.ckeditor.com/ckeditor5/25.0.0/classic/ckeditor.js"></script>
<script>
ClassicEditor
.create(document.querySelector('#id'))
.catch(error => {
console.error(error);
});
</script>发布于 2021-11-18 08:45:16
您似乎已经从演示中获得了带有默认设置的经典编辑器,没有“删除格式”。如果您看到的演示,没有这样的图标。https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html
您将不得不进行自定义构建并包含该注释,或者如果它是默认构建的一部分,则通过自定义将其添加到工具栏中。
在在线构建器中:https://ckeditor.com/ckeditor-5/online-builder/ "Remove“不是标准构建的一部分,所以添加它,它将显示在您的工具栏中。
https://stackoverflow.com/questions/70016799
复制相似问题