BlockSuite API Documentation / @blocksuite/blocks / onModelTextUpdated
Function: onModelTextUpdated()
onModelTextUpdated(
editorHost
,model
,callback
?):Promise
<void
>
Parameters
editorHost
model
BlockModel
<object
, SignaledProps
<object
>>
callback?
(text
) => void
Returns
Promise
<void
>
Defined in
packages/blocks/src/root-block/utils/callback.ts:7