-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
notifier and tooltip, fix closes #2591, #2390, #2462 #2842
Conversation
@neSpecc Do I also have to modify the version number in pacakge.json? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, update a changelog
Done |
@Sozialarchiv how are you reproducing such errors? I don't see it in my builds |
I couldn't reproduce the problem at first either. However, since it was mentioned in various issues, I looked into it a little. You need a typescript project in which @editorjs/editorjs is a dependency. In addition, “skipLibCheck” in tsconfig.json must be true. Normally I have not activated this either, as it has no added value and costs performance. It is also false by default. However, there seem to be some users who have set the value to true. |
I have |
Hey, @Sozialarchiv. Have you managed to reproduce these errors? Maybe you can provide a demo? |
https://github.com/Sozialarchiv/editorjs-notifier-tooltip-error-demo |
Thanks, @Sozialarchiv. Demo works fine with |
This fix moves the packages codex-notifier and codex-tooltip from devDependencies to dependencies.
Both packages are not only used as type imports:
editor.js/src/components/utils/notifier.ts
Line 7 in eb7ffcb
editor.js/src/components/utils/tooltip.ts
Line 5 in eb7ffcb
The patch fixes the following types errors: