Skip to main content

RichTextRenderer

Client renderer for idling markup via richTextParser and emojiRegistry.

Props​

PropRole
contentSource string
configPartial RichTextConfig overrides
onEmojiClick / onImageClick / onLinkClickInteraction callbacks
maxLengthTruncate with ellipsis
showEmojiTooltipsDefault true

Memoizes parse output; supports truncation before parse. Styles: RichText.css.


Sources: src/app/components/rich-text/RichTextRenderer.tsx, @lib/utils/parsers/rich-text-parser