react-native-enriched-html 1.1.0

v1.​1.​0Minor Release

Web is now stable

1.1.0 is the first stable release of the web platform for react-native-enriched-html. Parity with iOS and Android is now solid across all core features, making this the right baseline for teams building on web. From this version onward, web is a first-class supported platform.

New features

Web

  • Tapping links and mentions now triggers onLinkPress and onMentionPress callbacks on web (#678).
  • EnrichedText is now selectable on web and supports ref, onFocus, and onBlur; useHtmlNormalizer is also exported for standalone use (#677).
  • Text shortcuts are now supported on web (#665).
  • HTML sanitization is now available on web, letting you customize how incoming HTML content is sanitized before rendering via a sanitizationConfig (#680).
  • ellipsizeMode and numberOfLines are now supported in EnrichedText on web (#687).

All platforms

  • The normalizer now preserves text alignment styles (#702).
  • The autofocus prop defaults to false (#706).

Bug fixes

  • Fixed whitespace parsing inside the normalizer (#704).
  • Fixed incorrect initial height measurement for EnrichedText on Android (#703).
  • Heading font color is now correctly inherited on web (#710).
  • The normalizer no longer strips <br> nodes inside blockquotes (#720).
  • Fixed conflicting styles being applied simultaneously (#721).
  • Fixed inline style merging with plain text on iOS (#722).
  • Fixed placeholder images not displaying on web (#725).
  • Fixed list rendering for Japanese text on iOS (#729).
  • Canonical mention attributes are now preserved when using a custom sanitizationConfig on web (#733).
  • Fixed list styling on web (#730).
Release card
react-native-enriched-html 1.1.0 release card