-
Notifications
You must be signed in to change notification settings - Fork 913
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
Problem with dependency on @types/quill #415
Comments
Please fix this |
Hello ? @zenoamaro ? |
@darioseidl It looks like your workaround does not work for |
Resolves issue zenoamaro#415
going into |
|
I spent a lot of time for this issue. This problem is related to incompatible versions of packages for quill. So, my solution: "@types/quill": "^1.3.9" if you use TypeScript (and "esModuleInterop": true in tsconfig.json) |
PR welcome to fix this 😄 |
Thanks @daggmano and @alexkrolick, this is fixed in react-quill 1.3.3. |
I want to ask something like how to remove the outer border of react-quill .. Since I rendered a HTML and want to convert it in rich text .. I want to remove the border of the editor please help anyone!! |
When I install it with
yarn add react-quill
and import it in a typescript project withimport ReactQuill from 'react-quill';
orimport * as ReactQuill from 'react-quill';
I get the following error:react-quill 1.3.1 has dependencies on
"quill": "^1.2.6"
and"@types/quill": "*"
. A few days ago new type definitions for quill 2.0.0 have been released, so"@types/quill": "*"
resolves to @types/quill 2.0.0 now which seems to be incompatible with quill 1.x.I managed to fix it by putting
in our package.json to tell yarn which type definitions to pull.
I think react-quill should specify major/minor version for the dependency on @types/quill to match the dependency on quill to avoid this problem.
The text was updated successfully, but these errors were encountered: