[go: up one dir, main page]

Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Oct 3, 2025

Node - nestedExpand

Purpose

The nestedExpand node is a container that allows content to be hidden or shown, similar to an accordion or disclosure widget.

nestedExpand is available to avoid infinite nesting, therefore it can only be placed within a TableCell or TableHeader, where an Expand can only be placed at the top-level or inside a .

Example

1
2
{
  "type": "nestedExpand",
  "attrs": {
    "title": "Hello world"
  },
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        }
      ]
    }
  ]
}

Content

nestedExpand can contain an array of one-or-more:

Fields

NameRequiredTypeValueNotes
contentArray of one-or-more above mentioned nodes.
typestring"nestedExpand"
attrsobject
attrs.titlestring

Rate this page: