Skip to content

API > @blocksuite/blocks > buildPath

Function: buildPath ​

buildPath(model): string[]

This function is used to build model's "normal" block path. If this function does not meet your needs, you may need to build path manually to satisfy your needs. You should not modify this function.

Parameters ​

ParameterType
modelnull | BaseBlockModel< object >

Returns ​

string[]

Defined In ​

packages/blocks/src/_common/utils/query.ts:141