Skip to content

BlockSuite API Documentation / @blocksuite/blocks / EdgelessTextBlockSchema

Variable: EdgelessTextBlockSchema

const EdgelessTextBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:edgeless-text"

props

props: @blocksuite/store

Type declaration

children

children: string[]

parent

parent: string[]

role

role: "hub"

version

version: number

onUpgrade()?

optional onUpgrade: (data, previousVersion, latestVersion) => void

Parameters

data: EdgelessTextProps

previousVersion: number

latestVersion: number

Returns

void

transformer()?

optional transformer: () => @blocksuite/store

Returns

@blocksuite/store

version

version: number

Defined in

packages/affine/model/dist/blocks/edgeless-text/edgeless-text-model.d.ts:11