Skip to content

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

Variable: EmbedHtmlBlockSchema

const EmbedHtmlBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: `affine:embed-${string}`

props

props: PropsGetter<EmbedProps<EmbedHtmlBlockProps>>

Type declaration

role

role: "content" = 'content'

version

version: number

transformer()?

optional transformer: () => BaseBlockTransformer<EmbedProps<EmbedHtmlBlockProps>>

Returns

BaseBlockTransformer<EmbedProps<EmbedHtmlBlockProps>>

version

version: number

Defined in

packages/affine/model/src/blocks/embed/html/html-schema.ts:15