BlockSuite API Documentation / @blocksuite/blocks / onModelTextUpdated
Function: onModelTextUpdated()
onModelTextUpdated(
editorHost,model,callback?):Promise<void>
Parameters
• editorHost: EditorHost
• model: BlockModel<object>
• callback?: (text) => void
Returns
Promise<void>
Source
packages/blocks/src/page-block/utils/callback.ts:11
Generated using TypeDoc and typedoc-plugin-markdown.