Skip to content

Releases: apollohg/react-native-rich-text-editor

2.0.12

Choose a tag to compare

@jaydensmith jaydensmith released this 28 Sep 12:55

Changed

  • Replaced @expo/vector-icons with @react-native-vector-icons/material-design-icons and updated the toolbar icons and bundled Android font. Thanks to @mathers101 for contributing #5.

Fixed

  • Built Android Rust libraries before packaging the release consumer in CI.

2.0.11

Choose a tag to compare

@jaydensmith jaydensmith released this 24 Sep 12:20

Added

  • Added optional snapshotScope to localHtml initialization, enabling scoped local snapshot export and restore while keeping the editor detached from collaboration.

2.0.10

Choose a tag to compare

@jaydensmith jaydensmith released this 23 Sep 23:25

Fixed

  • Fixed Android viewers rendering with no text or height in minified release builds by preserving the JNI bridge class and native entry points during R8 optimisation.

2.0.9

Choose a tag to compare

@jaydensmith jaydensmith released this 23 Sep 11:27

Fixed

  • Fixed Android viewer text overflowing its available width by correcting display-density conversion during final layout. Text now wraps to the parent width and matches the measured height without an explicit viewer width.

2.0.8

Choose a tag to compare

@jaydensmith jaydensmith released this 22 Sep 06:37

Fixed

  • Exported useEditorToolbarMentionState and EditorToolbarMentionState from the package entry point so custom mention suggestion components can subscribe to mention state independently of the rest of the toolbar state.

2.0.7

Choose a tag to compare

@jaydensmith jaydensmith released this 22 Sep 05:33

Fixed

  • Fixed the iOS caret appearing an extra mention-width after a styled mention inserted at the start of an empty editor.

2.0.6

Choose a tag to compare

@jaydensmith jaydensmith released this 19 Sep 06:06

Fixed

  • Fixed an iOS Debug-build assertion crash when a rich-text viewer first appears by initialising its default Fabric props in the constructor.

2.0.5

Choose a tag to compare

@jaydensmith jaydensmith released this 11 Sep 04:31

Added

  • Added ancestry-aware style rules: a rules array on EditorTheme lets a style target an element by its full ancestor path, for example a list marker or paragraph nested inside a blockquote.

Fixed

  • Fixed toggling a list's type (bullet, ordered, or task) so it converts the existing list in place instead of nesting a new list inside it.
  • Aligned iOS unordered bullet sizing with Android's fixed-ratio diameter instead of measuring the glyph's bounding box.
  • Fixed the ordered list marker scale being affected by the unordered marker scale setting, and corrected ordered marker indentation to use the visual nesting depth.
  • Fixed the viewer ignoring an explicitly configured zero height on horizontal rules and falling back to the default thickness. non-contiguous ancestry rules could leak into marker styling.

Tests

  • Added Android and iOS regression coverage for ancestry-based style rule resolution, contextual marker and code-font typography, list marker geometry, and list type conversion.

2.0.4

Choose a tag to compare

@jaydensmith jaydensmith released this 09 Sep 12:43

Fixed

  • Fixed a fatal iOS stack overflow when focusing or tapping an empty editor, caused by recursive caret updates between tap handling and autocapitalization.
  • Fixed Android clipboard compilation with Kotlin 1.9.

2.0.3

Choose a tag to compare

@jaydensmith jaydensmith released this 09 Sep 06:44

Added

  • Added rich copy, cut, and paste on iOS and Android, preserving selected marks, nodes, custom attributes, and atoms between compatible editors.
  • Added pasteMode with rich (default), plainText, and disabled options, including runtime updates and explicit Paste as Plain Text support.
  • Added clipboard HTML normalization for supported semantic and inline CSS formatting, lists, and preformatted text, plus iOS RTF import with supported formatting and whitespace preservation.