Skip to content

BlockSuite API Documentation / @blocksuite/blocks / onModelTextUpdated

Function: onModelTextUpdated()

onModelTextUpdated(editorHost, model, callback?): Promise<void>

Parameters

editorHost: EditorHost

model: BlockModel<object, SignaledProps<object>>

callback?

Returns

Promise<void>

Defined in

packages/blocks/src/root-block/utils/callback.ts:7