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

v0.10.5

Compare
Choose a tag to compare
@flarnie flarnie released this 20 Jan 22:46

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)