draft-js v0.10.5 Release Notes
Release Date: 2018-01-20 // about 6 years ago-
โ Added
- โ Add support for
ariaDescribedBy
prop, for better a11y. (Suraj Karnati in
a6af3e15) - โ Add support for
ariaLabelledBy
prop, 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 undefined
error that was thrown when
typing same character into selection that starts with that character. (@existentialism in
#1512) - ๐ Fix
encodeRawBlocks
to 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,
encodeRawBlocks
would 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) - ๐ Fix regression of bug where clicking a link caused the focus to move but the
selection state was not cleared, leading to a 'node not found' error.
(@flarnie
in 55316176) - Loosen Flow type definition for DraftBlockType to allow user-defined custom
block types. (@mitermayer
in #1480)
- โ Add support for