Page Break
Below you can view an example of the page break block in JSON format.
{
"type": "codex_page_break",
"attrs": {
"name": "Page Break",
"blockId": "blockId",
"alias": "Alias"
},
"content": [],
"contentHTML": "-"
}
Below you can read details about each attribute of the page break block.
type
A string that represents the type of the block. Page break blocks will always display codex_page_break
as their type.
attrs
An object that represents the attributes of the block.
attrs.name
A string that represents the name of the page break block.
attrs.blockId
A string that represents the unique Id of the page break block.
attrs.alias
A string that represents the alias of the page break block.
content
An array of objects that represents the content of the block.
contentHTML
A string that represents the generated HTML of the paragraph.