-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue 3 default" is not exported #150
Comments
|
i got the new error of " quill.js:6130 Uncaught (in promise) TypeError: moduleClass is not a constructor" by using this |
The correct way to use it is
|
The solution that worked for me was: import ImageResize from 'quill-image-resize-module';
//...
// Note the module is registered as `imageResize` not `ImageResize`
Quill.register('modules/imageResize', ImageResize);
// ...
const quill = new Quill(editorEl, {
modules: {
// Note: 'imageResize' (the name needs to match what it was registered as).
imageResize: {
modules: ['Resize', 'DisplaySize', 'Toolbar'],
},
}
}); |
vue 3
yarn build
"default" is not exported by "node_modules/quill-image-resize-module/image-resize.min.js", imported by "src/views/editor.vue".
The text was updated successfully, but these errors were encountered: