小编wot*_*oto的帖子

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

嗨,我决定尝试根据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'
Run Code Online (Sandbox Code Playgroud)

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

制作了一个有问题的演示仓库
https://github.com/woto/ckeditor_rails_react

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

ckeditor 5 react 导出默认 ClassicEditor

github上也报告了错误

reactjs ckeditor5

5
推荐指数
0
解决办法
458
查看次数

标签 统计

ckeditor5 ×1

reactjs ×1