Skip to main content
Cell node for table content. Supports formatting, spans, and borders. Created automatically by table commands - see Table extension.

OOXML Structure

Options

Configure the extension behavior:
Object
default:"{'aria-label':'Table cell node'}"
HTML attributes for table cells

Attributes

Node attributes that can be set and retrieved:
number
default:"1"
Number of columns this cell spans
number
default:"1"
Number of rows this cell spans
Array<number>
default:"[100]"
Column widths array in pixels
CellBackground
Cell background color configuration
string
Vertical content alignment (top, middle, bottom)
CellMargins
Internal cell padding
any
required
Cell border configuration

Types

CellBorder

Cell border configuration

CellBorders

Cell borders object

CellMargins

Cell margins configuration

CellBackground

Cell background configuration

Source code