Skip to content

API > @blocksuite/blocks > mergeToCodeModel

Function: mergeToCodeModel ​

mergeToCodeModel(models): string

This file should only contain functions that are used to operate on block models in store, which means that this operations just operate on data and will not involve in something about ui like selection reset.

Parameters ​

ParameterType
modelsBaseBlockModel< object >[]

Returns ​

string

Defined In ​

packages/blocks/src/page-block/utils/operations/model.ts:13