-
Notifications
You must be signed in to change notification settings - Fork 133
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
SVGLoader and ERROR TypeError: Quill is not a constructor #1677
Comments
Just check my pr: #1632 I am not using quill 2 beta.2 currently, but this branch works for me without any error. |
updated the branch with latest ngx-quill beta and quill rc.0. everything is working :) |
Thanks for the update! Your example works perfectly. However, I always get the error |
For standalone try to use import { provideQuillConfig } from 'ngx-quill/config';
bootstrapApplication(AppComponent, {
providers: [
provideQuillConfig({
modules: {
syntax: true,
toolbar: [...]
}
})
]
}) |
If this is Not working please create a stackblitz or repo for reproduction |
Thanks for the quick reply and support. Unfortunately, it still does not work. I have created a demo project where the error occurs. Here the Quill Editor is not displayed after starting and the error appears in the browser console. Here is the link: https://github.com/sm3xegg/ngx-quill-test-issue |
seems like when producing mjs files it is importing quill as jsm as well and the "default" export is different. i published a new beta release, please try that one 25.0.0-quill2.7 |
Thank you for the quick solution, it is working now! I’m also looking to add image resizing in the editor. Does this somehow work in the new version? Thanks again! |
i comment those things out, because it was not working out of the box. |
All right! |
I am currently trying to integrate ngx-quill with Image Resize Module in an Angular 17 Project with standalone components. Unfortunately, this does not work.
With the packages:
"ngx-quill": "^24.0.4"
"quill-image-resize-module-ts": "^3.0.3"
i get the following errors:
Without the Image Resize Module everything is working fine.
In the next step I tested the latest version feat/quill-2.beta0, as I think that the previous error no longer exists here. But this gives me the error:
Your example of the version feat/quill-2.beta0 works perfectly, at least without Image Resize.
Do you have any tips on how I can get the new beta version running and configure image resize in the second step? Thanks in advance
The text was updated successfully, but these errors were encountered: