This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
v0.10.4
Added
- Expose
onRightArrow
andonLeftArrow
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
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 whereanchorNode
wasundefined
. (@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)