Skip to content

BlockSuite API Documentation / @blocksuite/blocks / onModelTextUpdated

Function: onModelTextUpdated()

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

Parameters

model: BaseBlockModel<object>

callback?: (text) => void

Returns

Promise<void>

Source

packages/blocks/src/page-block/utils/callback.ts:11


Generated using typedoc-plugin-markdown and TypeDoc