-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Fix ra-input-rich-text dependencies on tiptap #8622
Conversation
https://github.com/ueberdosis/tiptap/releases/tag/v2.0.0-beta.213 might be the fix you are waiting for. |
This fails because of yet another breaking change: ueberdosis/tiptap#3694 |
I updated to the latest beta.216, but the codesandbox https://codesandbox.io/s/github/marmelab/react-admin/tree/fix-tiptap-deps-again/examples/simple showes new errors:
|
It seems we're finally good with version 217! https://codesandbox.io/p/sandbox/sweet-parm-eu2286 |
Problem
Our sandboxes are broken again because of a BC in tiptap dependencies management: https://github.com/ueberdosis/tiptap/releases/tag/v2.0.0-beta.210
Solution
This PR bumps the tiptap deps to their latest version, and also applies the new recommendations: remove
prosemirror-*
deps and add@tiptap/pm
to the deps.Results
Current sandbox
https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple?file=README.md
Fixed sandbox
https://stackblitz.com/edit/github-8fm95g-e2nqwd