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