BlockSuite API Documentation / @blocksuite/blocks / EmbedLinkedDocBlockConfig
Interface: EmbedLinkedDocBlockConfig
Properties
handleClick()?
optional
handleClick: (e
,host
,referenceInfo
) =>void
Parameters
• e: MouseEvent
• host: EditorHost
• referenceInfo
• referenceInfo.pageId: string
• referenceInfo.params?
• referenceInfo.params.blockIds?: string
[]
• referenceInfo.params.databaseId?: string
• referenceInfo.params.databaseRowId?: string
• referenceInfo.params.elementIds?: string
[]
• referenceInfo.params.mode?: "edgeless"
| "page"
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
• referenceInfo.pageId: string
• referenceInfo.params?
• referenceInfo.params.blockIds?: string
[]
• referenceInfo.params.databaseId?: string
• referenceInfo.params.databaseRowId?: string
• referenceInfo.params.elementIds?: string
[]
• referenceInfo.params.mode?: "edgeless"
| "page"
Returns
void
Defined in
packages/affine/block-embed/dist/embed-linked-doc-block/embed-linked-doc-config.d.ts:5