Nutrient Web SDK

Type Alias Block

A block on the live session, returned by instance.contentEditor.getBlocks() and getBlock(id).

Discriminated by type. Text-only today; the union grows as new block types (e.g. images) land, so callers should match exhaustively with switch (block.type).

Type Alias
Type Signature
type Block = TextBlockSummary