OddApp Design

RichText

@oddapp/ui · Tier 2

WYSIWYG prose editor supporting headings, lists, links, and mentions. (Aspirational — not yet exported by @oddapp/ui.)

Default

RichText — preview renders in browser when component is exported from @oddapp/ui
import { RichText } from '@oddapp/ui'

<RichText
  value={content}
  onChange={setContent}
  placeholder="Write something…"
  extensions={['bold', 'italic', 'link', 'mention']}
/>