小编sto*_*yau的帖子

如何在CKEDITOR 5中获得工具栏可用项目?

我想在CKEDITOR 5中配置工具栏.我看了一下文档.

https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/builds/guides/integration/configuration.html

然而,与我的问题相关的唯一脚本是:

Array.from( editor.ui.componentFactory.names );
Run Code Online (Sandbox Code Playgroud)

前端程序员很难理解.我在哪里放这个脚本?如何输出结果?有详细的教程吗?

事实上,如果CKEDITOR只是将可用的项目放在文档中,那就太好了.这将节省很多麻烦.

谢谢!

ckeditor5

12
推荐指数
4
解决办法
1万
查看次数

标签 统计

ckeditor5 ×1