-
Notifications
You must be signed in to change notification settings - Fork 10
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
Upgrade Trix to v2 #72
Comments
@mech Thanks for reporting the issue. I'll try upgrading the Trix version this weekend. |
Tks! I actually do the upgrade myself (https://github.com/mech/react-trix-rte/commits/master/), but using Next.js project it somehow failed to perform "next build". It hang actually. Now I basically rebuild the dist/index.js and use that directly and also referencing the trix.js directly using // Use the one from dist/index.js directly (copied to public/react-trix-rte.js)
const {
ReactTrixRTEToolbar,
ReactTrixRTEInput,
} = require("public/react-trix-rte"); <!-- At my Next.js _document.js file -->
<script src="/trix-2.0.8.js" /> I am not sure why "next build" fail while development can work though 🤪 Just FYI if you still free to investigate. FYI also the node-sass I changed to sass as it will not compile also. |
@abhaynikam Can I help fixing this? |
@mech any chance you get it works with next build I get the same issue |
Not recommended. I do it myself on my own fork at here: https://github.com/mech/react-trix-rte See if it helped. But I have moved on to TipTap editor already. |
I have currently fixed this with resolutions in the package.json |
Hi,
Is there a way to upgrade the Trix from v1.3.1 to v2.0.8 as it fix quite a bit of Safari bugs.
Regards
The text was updated successfully, but these errors were encountered: