API > @blocksuite/blocks > updateBlockElementType
Function: updateBlockElementType ​
updateBlockElementType(
blockElements
,flavour
,type
?):BaseBlockModel
<object
>[]
Parameters ​
Parameter | Type |
---|---|
blockElements | BlockElement < BaseBlockModel < object >, BlockService < BaseBlockModel < object > >, string >[] |
flavour | keyof BlockSchemas |
type ? | string |
Returns ​
BaseBlockModel
< object
>[]
Defined In ​
packages/blocks/src/page-block/utils/operations/element/block-level.ts:13