Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / EdgelessTextBlockSchema

Variable: EdgelessTextBlockSchema

const EdgelessTextBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:edgeless-text"

props

props: PropsGetter<EdgelessTextProps>

Type declaration

children

children: string[]

parent

parent: string[]

role

role: "hub" = 'hub'

version

version: number = 1

transformer()?

optional transformer: () => BaseBlockTransformer<EdgelessTextProps>

Returns

BaseBlockTransformer<EdgelessTextProps>

version

version: number

Defined in

packages/affine/model/src/blocks/edgeless-text/edgeless-text-model.ts:22