Rate this page:
The tableRow
node defines rows within a table and is a container for table heading and table cell nodes.
tableRow
is a child block node of the table
node.
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
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Heading one",
"marks": [
{
"type": "strong"
}
]
}
]
}
]
}
]
}
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "tableRow" |
content | ✔ | array | An array of nodes |
content
takes an array of one or more tableHeader
or tableCell
nodes.
Rate this page: