The listItem
node represents an item in a list.
listItem
is a child block node of:
1 2{ "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello world" } ] } ] }
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "listItem" |
content | ✔ | array | An array of one or more nodes. |
content
must contain at least one of the following nodes:
bulletList
codeBlock
with no marksmediaSingle
orderedList
paragraph
with no marksRate this page: