Link

Text

Text is the basic element used to represent sentences, paragraphs etc.

Format

HTML

<p>This is a simple text element</p>

JSON

{
  "type": "text",
  "subtype": null,
  "metadata": {},
  "text": "<p>This is a simple text element</p>"
},

Schema

Key Type
type * String, Value should be text
subtype * Value should be null
metadata Object, Value should be {}
text * HTML string starting and ending with <p></p>

Notes

[1] All mandatory fields are marked with an *