diff --git a/src/command/commands/block.js b/src/command/commands/block.js index 12d6111d73..6d76f5f25b 100644 --- a/src/command/commands/block.js +++ b/src/command/commands/block.js @@ -920,7 +920,7 @@ import isFunction from 'lodash/isFunction'; block = this.editor.board.findBlock(block); block.doDestroyBelow(true); if (block.isParamBlockType()) { - block.thread.updateValueBlock(); + block.thread?.updateValueBlock?.(); } }, state(block) {