Draft.js v0.10.2 Release Notes
Release Date: 2017-09-21 // over 6 years ago-
โ Added
- โ Added support for
aria-controls
in draft.js (@jessebeach in 7f0cab28)
๐ Changed
- ๐ Change
aria-owns
toaria-controls
in draft.js. (@jessebeach in 7f0cab28)- Deprecates support of
ariaOwns
andariaOwneeID
props.
- Deprecates support of
- ๐ Deprecate use of
ariaHasPopup
prop in draft.js.ariaExpanded
should be used instead if an input is showing a dropdown with options.(@jessebeach in 744e9b4e) - 0๏ธโฃ Pasting an
img
no longer inserts thesrc
by default; now inserts image emoji if no decorator is used. (@aadsm in 0b22d713 and @flarnie in 1378)
๐ Fixed
- ๐ Fix issue where selection state was not cleared on blur and refocus of the
editor. (@sophiebits in
19b9b1c5) - ๐ Fix issue where pasting code into code block defaulted to plain text, and
๐ styles were dropped from pasted blocks in general.
(@bumbu in
e8d10112) - ๐ Fix issue where Flow was not running with some 'import' statements (@flarnie & @yuku-t in #1263)
- ๐ Fix bug where Draft threw when two keys were pressed at same time in React 16 async mode (@sophiebits in 1c6a49b8)
- ๐ Fix recent Chrome bug where tab causes error (@sophiebits in 5863399a)
- ๐ Fix "Refs must have owner" error when multiple copies of React are used (@mks11 in #925)
- ๐ Fix issue where AT could treat 'return' as submit in Draft (@jessebeach in #1295)
- Don't allow
aria-expanded
to be true unless the aria role is combobox (@jessebeach in 3494d45d) - ๐ Fix pesky "This Selection object doesn't have any Ranges" bug (@sophiebits in 96688e10 and 036e3a84)
- ๐ Fix bug where pasting
img
with large data URL source could crash editor (@aadsm in 0b22d713)
- โ Added support for