嗨,我决定尝试根据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