npm draft-js 0.10.2

latest releases: 0.11.7, 0.11.6, 0.11.5...
7 years ago

Added

Changed

  • Change aria-owns to aria-controls in draft.js. (@jessebeach in 7f0cab28)
    • Deprecates support of ariaOwns and ariaOwneeID props.
  • 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 the src 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)

Don't miss a new draft-js release

NewReleases is sending notifications on new releases.