The orderedList node is a container for a numbered list of items. It’s the ordered equivalent of bulletList.
1 2 3 4 5 6orderedList( 3, li("Hello"), li("World") );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37{ "type": "orderedList", "attrs": { "order": 3 }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "World" } ] } ] } ] }
| Confluence | Jira |
|---|---|
| ✅ | ✅ |
❌ N/A
orderedListorderedList can be nested inside another list’s listItem, they cannot be the first child node. Specify an empty paragraph node for the first child as a workaround if no other content is available.↩︎localId, when present, will typically be a random UUID. This is not enforced by the schema.↩︎Rate this page: