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
switch (block.type)
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 withswitch (block.type).