Skip to content

BlockSuite API Documentation / @blocksuite/blocks / generateDocUrl

Function: generateDocUrl()

generateDocUrl(docBaseUrl, pageId, params): string

Parameters

docBaseUrl

string

pageId

string

params

blockIds

string[]

databaseId

string

databaseRowId

string

elementIds

string[]

mode

"edgeless" | "page"

Returns

string

Defined in

packages/affine/block-embed/dist/common/adapters/utils.d.ts:2