kensnyder / quill-image-drop-module

A module for Quill rich text editor to allow images to be pasted and drag/dropped into the editor.
217 stars 78 forks source link

Unhandled Rejection (TypeError): Cannot read property 'imports' of undefined ,in React jS #9

Open dharmesh03 opened 7 years ago

dharmesh03 commented 7 years ago

import ReactQuill,{Quill} from 'react-quill'; import ImageResize from 'quill-image-resize-module'; Quill.register('modules/ImageResize', ImageResize);

× Unhandled Rejection (TypeError): Cannot read property 'imports' of undefined ▼ 13 stack frames were expanded. (anonymous function) node_modules/quill-image-resize-module/image-resize.min.js:1 e node_modules/quill-image-resize-module/image-resize.min.js:1 (anonymous function) node_modules/quill-image-resize-module/image-resize.min.js:1 e node_modules/quill-image-resize-module/image-resize.min.js:1 t.exports node_modules/quill-image-resize-module/image-resize.min.js:1 (anonymous function) node_modules/quill-image-resize-module/image-resize.min.js:1 webpackJsonp../node_modules/quill-image-resize-module/image-resize.min.js.n node_modules/quill-image-resize-module/image-resize.min.js:1 Object../node_modules/quill-image-resize-module/image-resize.min.js node_modules/quill-image-resize-module/image-resize.min.js:1 webpack_require /home/dev1/ae-front-end/webpack/bootstrap 020bfc4c2b6760e16678:710 fn /home/dev1/ae-front-end/webpack/bootstrap 020bfc4c2b6760e16678:115 Object../src/routes/admin/design/Design.js http://localhost:3000/assets/4.chunk.js:18826:85 webpack_require /home/dev1/ae-front-end/webpack/bootstrap 020bfc4c2b6760e16678:710 fn /home/dev1/ae-front-end/webpack/bootstrap 020bfc4c2b6760e16678:115 ▲ 13 stack frames were expanded. This screen is visible only in development. It will not appear if the app crashes in production. Open your browser’s developer console to further inspect this error.

Cj50353 commented 3 years ago

我也是

yanyan-y commented 1 year ago

M e t o o