Draft.js v0.10.2 Release Notes

Release Date: 2017-09-21 // over 6 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)
    • 0๏ธโƒฃ 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)