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 ​
Parameter | Type |
---|---|
models | BaseBlockModel < object >[] |
Returns ​
string
Defined In ​
packages/blocks/src/page-block/utils/operations/model.ts:13