Email SupportCall Us Go to Close

Rich Text Fields


In many places, the application allows users to compose using rich text. In particular, within note activities and notes on calls or meetings.

These rich text fields are exposed as strings, where the content is a restricted subset of XHTML. All fields must begin and end with <body></body> tags.

Within the body, the there are plenty of formatting options:

<body>
  <h1>HTML Notes Example</h1>
  <p>
    This is an <em>example</em> note. It includes various elements like
    <strong>strong emphasis</strong>, images, and links.
  </p>
  <p>
    Here's a list of some inline elements you can use:
  </p>
  <ul>
    <li><b>Bold text</b></li>
    <li><i>Italic text</i></li>
    <li><u>Underlined text</u></li>
    <li><s>Strikethrough text</s></li>
    <li><span style="color: red;">Colored text</span></li>
    <li><code>example_function()</code></li>
  </ul>
  <p>
    And don't forget about links! Here's an example:
    <a href="http://www.example.com">Click me!</a>
  </p>
  <p>
    You can also include images:
    <img src="http://www.example.com/image.jpg" alt="Example Image" />
  </p>
  <hr />
  <p>
    Finally, many rich text fields support mentioning users or groups cc
    <span
      data-type="mention"
      data-id="group_xxxx"
      data-label="Engineers"
      class="mention"
    >
      @Engineers
    </span>
  </p>
</body>