Module rich_text

Module rich_text 

Source
Expand description

Rich Text CRDT - Collaborative rich text with formatting marks.

Extends RGAText with support for:

  • Inline formatting (bold, italic, underline, strikethrough)
  • Links and references
  • Comments and annotations
  • Custom marks for extensibility

Uses anchor-based marks that reference TextIds for stability.

Structs§

Mark
A formatting mark that spans a range of text.
MarkId
Unique identifier for a mark (formatting span).
RichText
Collaborative rich text with formatting support.
RichTextDelta
Delta for rich text operations.

Enums§

Anchor
An anchor specifying a position in the text.
MarkType
The type/style of a formatting mark.

Functions§

mark_close_tag 🔒
mark_open_tag 🔒