The expand node is a container that enables content to be hidden or shown, similar to an accordion or disclosure widget.
Note: The expand node can only be used in a doc or layoutColumn node. Inside tables (that is, within a tableCell or tableHeader node), use a nestedExpand instead. Expand widgets are not avaiilable anywhere else.
1 2expand(p("Hello world"));
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18{ "type": "expand", "attrs": { "title": "Hello world" }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello world" } ] } ] }
| Confluence | Jira |
|---|---|
| ✅ | ✅ |
expandlocalId, when present, will typically be a random UUID. This is not enforced by the schema.↩︎Rate this page: