Heading¶
header1 through header6 are block element nodes that represent six levels of headings.
Usage and Children¶
- Their
childrendirectly contain text nodes and supported inline elements, such as links. Content following a heading remains in sibling blocks, rather than becoming its children. - The editor moves images out of
header1throughheader6into a following paragraph.
Data Structure¶
{
"id": "G1opTnrHRr6aX7qbJXZJiw",
"type": "header1",
"children": [
{
"id": "D_bLOntqQHSZ8lu9VJn_JQ",
"text": "header content"
}
]
}