Skip to content

Releases: HubSpot/draft-convert

v1.3.3

23 Jan 16:55
Compare
Choose a tag to compare

Changes

  • Add blockquote as a default block HTML output (#19)
  • Fix immutable dependency version to match draft.js (#29)

v1.3.2

20 Jan 23:42
Compare
Choose a tag to compare

Changes

  • Render children of block in React elements when converting to HTML (#32)

v1.3.1

11 Dec 03:00
Compare
Choose a tag to compare

Changes

  • Fix react and react-dom externals (#23)
  • Fix getBlockTypeForTag to include all basic block tags and default to null (#24)

v1.3.0

25 Oct 21:50
Compare
Choose a tag to compare

Changes

  • Added support for ReactElements as return values for convertToHTML options (#20)
  • Changed default values for conversion of styles and blocks to HTML to use ReactElements (#20)
  • Added support for middleware functions for all configuration options (#20)

v1.2.3

22 Sep 21:01
Compare
Choose a tag to compare

Changes

Remove built-in link conversion from convertFromHTML (#16)

v1.2.2

07 Sep 22:05
Compare
Choose a tag to compare

Changes

  • Fixes issues with escaping text adjacent to other mutations (#14)

v1.2.1

31 Aug 15:20
Compare
Choose a tag to compare

Changes

  • Fixes convertFromHTML when handling nested blocks with types not defined by htmlToBlock (#11)

v1.2.0

29 Aug 21:32
Compare
Choose a tag to compare

Changes

  • Add support for block metadata (#10)
  • Move draft-js to be a peer dependency of version >=0.7.0

v1.1.3

12 Aug 18:13
Compare
Choose a tag to compare

Changes

  • Check htmlToBlock result when adding newline separators for nested blocks (#8)

v1.1.2

05 Aug 20:42
Compare
Choose a tag to compare

Changes

Update Draft dependency to 0.7.0 (#7)