npm draft-js 0.10.5
v0.10.5

latest releases: 0.11.7, 0.11.6, 0.11.5...
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)

Don't miss a new draft-js release

NewReleases is sending notifications on new releases.