New
v0.10.5
Added
- Add support for
ariaDescribedByprop, for better a11y. (Suraj Karnati in a6af3e15) - Add support for
ariaLabelledByprop, for better a11y. (@jackyho112 in #1519)
Changed
- Cause editor to break out of code block when user enters two blank lines. (Hanzhi Zhang in 548fd5d1)
Fixed
- Preserve list indentation when copying and pasting from one Draft.js editor into another. (@GordyD in #1605)
- Fix
cannot read property 'update' of undefinederror that was thrown when typing same character into selection that starts with that character. (@existentialism in #1512) - Fix
encodeRawBlocksto handle non-contiguous entities. Entities should always be contigious, and cover one sequential range of characters. However, in cases where entityState is corrupted to include non-contiguous entities,encodeRawBlockswould improperly process the entities in that case. (Frank Thompson in 0059dd46) - Updated CSS for DraftEditorPlaceholder to support multiline placeholder (Gaurav Vaish in c38b0285
- Fix issue where typing at the end of a link caused the link to continue. (Ian Jones in d16833b3)