-
Notifications
You must be signed in to change notification settings - Fork 64
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
Support & upgrade draft-js to 0.11.x #213
Comments
Just hit that same issue while working on https://github.com/timonweb/non-admin-draftail, thanks for bringing that up. For now a quick fix is to pin |
Hi all. Is there any news regarding this one? Edited: |
👋 sorry it’s been so slow-moving – I’ll try to get to this in November, hopefully along with React 17 compatibility. One of the main reasons this has dragged on is that https://github.com/draft-js-plugins/draft-js-plugins made their 0.11 switch as a breaking change, and I haven’t found enough compelling reasons to start using Draft.js v0.11 to justify the breaking change for Draftail. Hopefully there are more compelling reasons now than a year ago when I started #186. It might also make sense for me to make the Thank you @BSStefan for taking a look at the changes and likely fixes – I’ll make sure to reuse this in the upgrade! |
This has stalled again. I’ve done a thorough review of the changes in Draft.js v0.11 back in November, and found more reasons to not upgrade than to upgrade. Specifically:
And then things that are definitely nice, but really pretty small:
And finally, things that are sorely missing in my opinion:
Anyway, we’ll get there eventually. Here are the practical next steps for me:
The main blocker for now is to get access to a Windows 10 machine for testing, with a Word license. If someone wants to help with v0.11 support, the "nested lists incrementing restrictions" point from above is what would be the simplest to make a PR for directly in the editor. Draft.js commits from v0.10.5 to v0.11.7 (filtering out any tooling-related changes): Comparing v0.10.5...v0.11.7 · facebook_draft-js (2020-11-18 22_58_04).html.zip CHANGELOG redux with only the changes I think actually matter: CHANGELOG redux v0.10.5 ... v0.11.7v0.11 CHANGELOG
master (unreleased)AddedFixedChangedv0.11.7Added
Fixed
Changed
v0.11.6Added
Fixed
Changed
v0.11.5Added
Fixed
v0.11.4Added
Fixed
Changed
v0.11.2Fixed
v0.11.1Added
Fixed
Changed
v0.11.0Added
Fixed
Changed
|
Hi there!
Since 0.11.0 is released by
draft-js
it will be good ifDraftail
supports it as well. At the moment most of the things work out of box - but some chars (like B, I V - shortcut keys) are getting swallowed when you type into the editor.The text was updated successfully, but these errors were encountered: