Ckeditor5 在添加图像时反应,链接插件出错

问题描述

导入插件(如 Image、ckeditor5 文件中的链接)时出现以下错误

import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
import LinkImage from '@ckeditor/ckeditor5-link/src/linkimage';

错误:- ./node_modules/@ckeditor/ckeditor5-image/theme/textalternativeform.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader /src??postcss!./node_modules/@ckeditor/ckeditor5-image/theme/textalternativeform.css)

未找到模块:无法解析“/Users/node_modules/@ckeditor/ckeditor5-image/theme”中的“./@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css”

注意:在 react 项目中不要使用 webpack current。

如何解决这个问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)