Skip to content

Commit 99c8a0c

Browse files
authored
Merge pull request #2879 from entrylabs/issue/8951
updateValueBlock 이 존재할때만 실행
2 parents 92d7c1f + fb31d14 commit 99c8a0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/command/commands/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ import isFunction from 'lodash/isFunction';
920920
block = this.editor.board.findBlock(block);
921921
block.doDestroyBelow(true);
922922
if (block.isParamBlockType()) {
923-
block.thread.updateValueBlock();
923+
block.thread?.updateValueBlock?.();
924924
}
925925
},
926926
state(block) {

0 commit comments

Comments
 (0)