Registration of quill-image-resize-module fails
See original GitHub issueI have been trying to register an image resize module (https://github.com/kensnyder/quill-image-resize-module) with Quill. But as soon as Quill.register('modules/imageResize', ImageResize); is called, I get the following error: TypeError: Cannot read property 'imports' of undefined
I created a plunker that shows the issue: https://plnkr.co/edit/IrSndtpRKSXG324zArN7?p=preview
I don’t really know if this is really an issue or if I’m simply mistaking something in the configuration. I have had a look at the examples provided and other issues but have not been able to resolve this problem. Hence, any help would be deeply appreciated as the ability to resize images is something quite handy to have.
Thank you very much.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
quill-image-resize-module--fix-imports-error - npm
A module for Quill rich text editor to allow images to be resized. And fix some error. Latest version: 3.0.0, last published: 3...
Read more >quill-image-resize-module--fix-imports-error v3.0.0 - npm.io
Quill ImageResize Module A module for Quill rich text editor to allow images to be resized. Also see quill-image-drop-module, a module that...
Read more >ngx-quill and Quill resize module breaking Jasmine tests
I stumbled across a fix after reading this github post. Instead of importing Quill I imported QuillNameSpace and defined Quill as ...
Read more >quill-image-resize-module-ts - npm package - Snyk
We found indications that quill-image-resize-module-ts is an Inactive project. See the full package health analysis to learn more about the package maintenance ...
Read more >quill-image-resize-module - Bountysource
I can be a problem when a user change alignment as final action since it will not be registered by my Vue component...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
People who are having difficulty using the quill image resize module with ANGULAR-CLI e ANGULAR 2+ Here’s a way to not have to tinker with the webpack.config.ts file
terminal
angular-cli.json
Componente.ts
Componente.html
<quill-editor [modules]="editor_modules" [(ngModel)]="content"></quill-editor>Did you checked this issue in the repo: https://github.com/kensnyder/quill-image-resize-module/issues/7#issuecomment-304463415