Skip to content

BlockSuite API Documentation / @blocksuite/blocks / EmbedLinkedDocBlockConfig

Interface: EmbedLinkedDocBlockConfig

Properties

handleClick()?

optional handleClick: (e, host, referenceInfo) => void

Parameters

e

MouseEvent

host

EditorHost

referenceInfo
description

string

pageId

string

params

{ blockIds: string[]; databaseId: string; databaseRowId: string; elementIds: string[]; mode: "edgeless" | "page"; }

params.blockIds

string[]

params.databaseId

string

params.databaseRowId

string

params.elementIds

string[]

params.mode

"edgeless" | "page"

title

string

Returns

void

Defined in

packages/affine/block-embed/dist/embed-linked-doc-block/embed-linked-doc-config.d.ts:4


handleDoubleClick()?

optional handleDoubleClick: (e, host, referenceInfo) => void

Parameters

e

MouseEvent

host

EditorHost

referenceInfo
description

string

pageId

string

params

{ blockIds: string[]; databaseId: string; databaseRowId: string; elementIds: string[]; mode: "edgeless" | "page"; }

params.blockIds

string[]

params.databaseId

string

params.databaseRowId

string

params.elementIds

string[]

params.mode

"edgeless" | "page"

title

string

Returns

void

Defined in

packages/affine/block-embed/dist/embed-linked-doc-block/embed-linked-doc-config.d.ts:5