Catalogue element

bry-rich-text

A markdown editor that looks like the text it makes: headings, lists, tasks, code, links and @mentions.

Settings

SettingTakesNeeded
valuetext, at most 50,000 charactersno
placeholdertext, at most 200 charactersno
labeltext, at most 200 charactersno
variantdocument, comment, bareno
mentionsa list of at most 200: a record of value, label (needs value, label)no
disabledtrue or falseno
autofocustrue or falseno
errortext, at most 200 charactersno
attachmentstrue or falseno
mentionAlltrue or falseno
placestrue or falseno
referencesa list of at most 500: a record of value, label, create (needs value, label)no
binda record of collection, id, field (needs collection, id, field)no
hidea list of at most 13: headings, lists, tasks, quote, code, table, maths, callout, toggle, divider, highlight, scripts, alignno
commentstrue or falseno
activeCommenttext, at most 128 charactersno
resolvedCommentsa list of at most 1,000: text, at most 128 charactersno
removedCommentsa list of at most 1,000: text, at most 128 charactersno

Example

JSX

<bry-rich-text label={"Description"} value={"## Steps\n\n- Open a draft\n- Go offline"} mentions={[{"value":"ada","label":"Ada Lovelace"}]} />

Renderer contact sheet

These paths will hold the checked light and dark captures.

Light
bry-rich-text light renderer capture
Dark
bry-rich-text dark renderer capture