BlockSuite API Documentation / @blocksuite/blocks / cloneReferenceInfo
Function: cloneReferenceInfo()
cloneReferenceInfo(
__namedParameters
):object
Clones reference info.
Parameters
• __namedParameters
• __namedParameters.pageId: string
• __namedParameters.params?
• __namedParameters.params.blockIds?: string
[]
• __namedParameters.params.databaseId?: string
• __namedParameters.params.databaseRowId?: string
• __namedParameters.params.elementIds?: string
[]
• __namedParameters.params.mode?: "edgeless"
| "page"
Returns
object
pageId
pageId:
string
params?
optional
params:object
params.blockIds?
optional
params.blockIds:string
[]
params.databaseId?
optional
params.databaseId:string
params.databaseRowId?
optional
params.databaseRowId:string
params.elementIds?
optional
params.elementIds:string
[]
params.mode?
optional
params.mode:"edgeless"
|"page"
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/utils.d.ts:5