Aller au contenu principal
Objet

RichTextDocument

Formatted text, given both as HTML and as plain text.

Champs

  • Format the text was written in.

  • htmlString!

    The text as sanitized HTML. Only paragraphs (p), bold (strong), underline (u), emphasis (em) and links (a) are used.

  • plainTextString!

    The same text without markup, for previews, search and plain-text output.

Utilisé par