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) - 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)