The tableRow
node defines rows within a table and is a container for table heading and table cell nodes.
Note: only supported on web and desktop. Mobile rendering support for tables is not available.
tableRow
is a child block node of the table
node.
1 2{ "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: