错误:在“ @ ckeditor / ckeditor5-build-classic”中找不到“导出'默认'(导入为'ClassicEditor')”

时间:2019-10-07 09:55:37

标签: reactjs ckeditor5

您好,我决定尝试根据https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/react.html使用ckeditor,但遇到错误:

"export 'default' (imported as 'ClassicEditor') was not found in '@ckeditor/ckeditor5-build-classic'

我也尝试了内联版本,并遇到了类似的错误。有人知道如何解决这个问题吗?我了解似乎库未导出模块,但无法理解它是否是错误。

制作有问题的演示存储库
https://github.com/woto/ckeditor_rails_react

干净步骤复制指南https://github.com/woto/ckeditor_rails_react/commit/94f99385c4496d89d05de8ffff0d0123a757c57b

ckeditor 5 react export default ClassicEditor

Also bug reported on a github

0 个答案:

没有答案