Skip to content

BlockSuite API Documentation / @blocksuite/blocks / EmbedOptionProvider

Interface: EmbedOptionProvider

Methods

getEmbedBlockOptions()

getEmbedBlockOptions(url): null | EmbedOptions

Parameters

url: string

Returns

null | EmbedOptions

Defined in

packages/affine/shared/dist/services/embed-option-service.d.ts:11


registerEmbedBlockOptions()

registerEmbedBlockOptions(options): void

Parameters

options: EmbedOptions

Returns

void

Defined in

packages/affine/shared/dist/services/embed-option-service.d.ts:12