React js implement CKeditor or Draft



我想在 React 中实现 CKeditor 或 Draft.js,我应该怎么做,有人可以告诉我吗?

我认为您应该尝试为此准备使用组件。根据我所检查的内容,CKEditor 5已经提供了官方集成:

  • https://github.com/ckeditor/ckeditor5-react
  • https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/react.html

对于在撰写本文时的最新稳定版本的 CKEditor 4,有像 https://www.npmjs.com/package/react-ckeditor-component 这样的第三方集成,但据我所知,CKE4 团队目前正在为 React 和 Angular 进行官方集成,所以它们应该很快就会准备好(我猜在 2-3 个月内(。

最新更新