Skip to content

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

Variable: ParagraphBlockSchema

const ParagraphBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:paragraph"

props

props: PropsGetter<ParagraphProps>

Type declaration

parent

parent: string[]

role

role: "content" = 'content'

version

version: number = 1

transformer()?

optional transformer: () => BaseBlockTransformer<ParagraphProps>

Returns

BaseBlockTransformer<ParagraphProps>

version

version: number

Defined in

packages/affine/model/src/blocks/paragraph/paragraph-model.ts:19