v1.1.0
Documentation: draftail.org/docs/1.1.0/getting-started
🎉 blog post for this release: Draftail v1.1.0: a quality of life release.
Added
- Add
onFocus
andonBlur
props to use callbacks on those events. This can be useful for form validation. #170, #174, thanks to @TheSpicyMeatball.
Fixed
- Stop unnecessarily calling
onSave
in the editor’sonBlur
(#173). - Prevent crash when filtering pasted content whose last block is to be removed (e.g. unsupported image) (#179).
- Prevent crash in
DraftUtils.getEntitySelection
, when the provided entity key isn't valid (undefined, missing) (#168). - Fix entity removal and editing not doing anything when the selection is backwards (right to left) (#168).
Changed
- Update
draftjs-filters
dependency (#179). - Update
draftjs-conductor
dependency.