Skip to content

Type Editor


Type Editor / @type-editor/tables / schema / TableRole

Type Alias: TableRole

ts
type TableRole = "table" | "row" | "cell" | "header_cell";

Defined in: tables/src/schema.ts:366

Identifies the role of a node within a table structure.

  • 'table': The root table node
  • 'row': A table row node
  • 'cell': A regular table cell (td)
  • 'header_cell': A header table cell (th)