Rich text
Rich-text fields in REST API requests accept HTML and use the same field-specific formatting as the editor.
Supported HTML
Use <p> for paragraphs, <br> for line breaks, <strong> or <b> for bold, <em> or <i> for italic, <u> for underline, and <a href="…"> for links.
Use <blockquote><p>…</p></blockquote> only in element content or rich-text attributes. To add an Arcscript segment to element content or a connection label, use a complete <pre><code>…</code></pre> block. An inline <code>…</code> tag is rejected; code blocks are also rejected in titles, notes, and rich-text attributes.
Example
Send this body to Update element to update its title and content:
{
"title": "<p>A <strong>quiet</strong> room</p>",
"content": "<p>You enter the room.</p><blockquote><p>Welcome.</p></blockquote><pre><code>show(\"Hello\")</code></pre>"
}Validation
Unsupported markup returns 400 Bad Request. The API normalizes accepted HTML when saving it. See Localized content for choosing which language these values update.