Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

v0.10.4

Compare
Choose a tag to compare
@flarnie flarnie released this 24 Oct 17:45

Added

  • Expose onRightArrow and onLeftArrow props to allow handling keyboard events when right or left arrow is pressed. (@eessex in #1384)
  • Expose Draft.css as default CSS export in package.json for use by CSS preprocessors. (@darobin in #566)

Changed

  • Change 'lookUpwardForInlineStyle' from O(n^2) to O(n), improving performance. :) (@Lemmih in #1429)

Fixed

  • Fix bug where editors inside draggable parent were broken for Safari. (@mattkrick in #1326)
  • Stop pulling in Enzyme as production dependency. D'oh. (@flarnie in #1415)
  • Fix TypeError: Cannot read property 'nodeType' of undefined error where anchorNode was undefined. (@tleunen in #1407)
  • Fix error thrown when callback tries to focus on editor after it has been unmounted. (@mattkrick in #1409)
  • Fix bug where selecting a single character then typing it doesn't replace it. (@karanjthakkar in #719)
  • Clear the block type when backspacing at the start of the first block with rich text utils. (@jvaill in #748)