The doc
node is the root container node representing a document.
1 2{ "version": 1, "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello world" } ] } ] }
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "doc" |
content | ✔ | array | An array of zero or more nodes. |
version | ✔ | integer | 1 |
content
takes zero or more top-level block nodes.
version
represents the version of the ADF specification used in the document.
Rate this page: