Skip to content

Releases: connor-baer/rich-text-to-jsx

v2.3.0

05 Feb 16:02
7d79a25
Compare
Choose a tag to compare

Minor Changes

v2.2.2

29 Jun 09:04
Compare
Choose a tag to compare

Patch Changes

2.2.1

27 Sep 07:06
Compare
Choose a tag to compare

2.2.1 (2022-09-27)

Dependencies

  • Upgrade all dependencies (7736a81)

2.2.0

15 Apr 09:35
8dc998e
Compare
Choose a tag to compare

2.2.0 (2022-04-15)

Features

2.1.3

06 Sep 02:37
Compare
Choose a tag to compare

2.1.3 (2019-09-06)

Dependencies

  • Upgrade dev dependencies (7fcb4b7)

Tech

2.1.2

26 Aug 21:32
Compare
Choose a tag to compare

Docs

Dependencies

  • #11 Bump eslint-utils from 1.3.1 to 1.4.2
  • #10 Bump lodash from 4.17.11 to 4.17.14
  • #9 Bump handlebars from 4.0.12 to 4.1.2
  • #8 Bump js-yaml from 3.12.0 to 3.13.1
  • #7 Bump webpack-bundle-analyzer from 3.0.3 to 3.3.2

2.1.1

10 Feb 21:55
Compare
Choose a tag to compare

Bug fixes

  • #4 Get content type from resolved linked entry @kevee
  • #6 Use correct content structure for tests and default components @connor-baer

Docs

2.1.0

06 Feb 23:58
Compare
Choose a tag to compare

Changes

  • Add default components for embedded assets: by default, images, videos, and audio files are rendered with the appropriate HTML5 elements when embedded as blocks and as download links when embedded inline or as hyperlinks.

2.0.0

06 Feb 21:25
Compare
Choose a tag to compare

Changes

  • Improve support for custom elements: custom components for embedded entries and assets can now be defined more easily. Have a look at the documentation to see how. (#1)

[BREAKING CHANGE] Overrides for custom elements are now indexed the other way round: nodeType -> contentType/mimeTypeGroup instead of contentType -> nodeType

Enhancements

  • Use helpers from Contentful (f9539db)

1.0.0

20 Jan 21:08
Compare
Choose a tag to compare

Initial release 🚀

  • Any HTML tags (corresponding to node types) rendered by the compiler can be overridden to include additional props or even a different React component entirely.
  • Embedded entries and assets can be rendered using different components depending on whether they are inline, blocks or hyperlinks.
  • The rendering function can be customized.