简体   繁体   English

CKEditor5 - 没有工具栏

[英]CKEditor5 - No Toolbar

I upgraded my @ckeditor/ckeditor5-react component to the latest version.我将我的 @ckeditor/ckeditor5-react 组件升级到了最新版本。 I am using a custom editor using the online builder tool.我使用的是使用在线构建器工具的自定义编辑器。

The editor is displayed successfully and the data content is in the editor.编辑器显示成功,数据内容在编辑器中。 However, the toolbar is missing.但是,缺少工具栏。

Is there something different in the new version that we need to enable the toolbar onload??我们需要启用工具栏加载的新版本有什么不同吗?

After reading the documentation more thoroughly, I found that I had to add the toolbar to the DOM manually.更彻底地阅读文档后,我发现我必须手动将工具栏添加到 DOM。

For reference: [1]: https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/frameworks/react.html供参考:[1]: https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/frameworks/react.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM