react-native-enriched-html 1.2.0

v1.​2.​0Minor Release

Custom style

The headline feature of this release: customStyle lets you apply any foreground and background color, font size, and font family to any selected text, on iOS, Android, and Web. Set it imperatively with .setStyle(), or read the active values back through customStyle in onChangeState. See #817.

Compatibility

  • Upgraded the library and example app to RN 0.88 (#827)
  • SPM compatibility on iOS, with a unified import structure across CocoaPods and SPM (#779, #786)

Other features

  • lineHeight support for EnrichedText (#724)
  • Text alignment keyboard shortcuts (#781)
  • New onImagePress event on EnrichedText (#681)
  • Pressable links inside the input component on Web (#795)
  • New autoCorrect and spellCheck props (#519)

Fixes

Also included a batch of fixes across iOS, Android, and Web covering typing attributes, inline images, checkboxes, and list normalization. See the full release notes for details.

Release card
react-native-enriched-html 1.2.0 release card