leejaen / react-lz-editor

A multilingual react rich-text editor component includes media support such as texts, images, videos, audios, links etc. Development based on Draft-Js and Ant-design, good support html, markdown, draft-raw mode. 一款基于 draft-Js 和 ant-design 实现的 react 富文本编辑器组件,支持文本、图片、视频、音频、链接等元素插入,同时支持HTML、markdown、draft Raw格式。
https://leejaen.github.io/react-lz-editor/index.html
MIT License
951 stars 154 forks source link

system.css无法找到iconfont.eot模块的问题 #199

Open chaoguo1949 opened 3 years ago

chaoguo1949 commented 3 years ago

in ./node_modules/react-lz-editor/global/supports/resources/system.css 报错如下: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleNotFoundError: Module not found: Error: Can't resolve 'default/iconfont.eot' in '\node_modules\react-lz-editor\global\supports\resources' 解决: 在./node_modules/react-lz-editor/global/supports/resources/system.css中改为相对路径(./default/iconfont.eot)引用的方式解决了此问题