Node - bulletList

Purpose

The bulletList node is a container for list items.

Type

bulletList is a top-level block node.

Example

1
2
{
  "type": "bulletList",
  "content": [
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": "Hello world"
            }
          ]
        }
      ]
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"bulletList"
contentarrayAn array of nodes

Content

content can contain one or more listItem nodes.

Rate this page: