TableCell
Overview
TableCell
represents a single cell within a TableBlock
. It supports text content, styling, and optional attributes for spanning columns.
Attributes
id
type: string
A unique identifier for the table cell.
type
type: literal = 'tableCell'
Discriminant for this block type.
text
type: object (optional)
The text content of the table cell, with the following structure:
text
: string (optional)format
: literal = 'markdown' | 'html' (optional)
textPosition
type: ContentDirectionOptions (optional)
Specifies the alignment of the text within the cell.
columnSpan
type: number (optional)
Indicates the number of columns this cell spans.
textColor
type: TextColorOptions (optional)
Specifies the color of the text within the cell.
backgroundColor
type: BackgroundColorOptions (optional)
Defines the background color of the cell.