Skip to content

Commit 724e945

Browse files
committed
fix: update content highlight when undoing the deletion of blocks.
1 parent fed7ee0 commit 724e945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/content-highlight/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import * as Blockly from 'blockly/core';
1515
*/
1616
const contentChangeEvents = [
1717
Blockly.Events.VIEWPORT_CHANGE,
18+
Blockly.Events.BLOCK_CREATE,
1819
Blockly.Events.BLOCK_MOVE,
1920
Blockly.Events.BLOCK_DELETE,
2021
Blockly.Events.COMMENT_MOVE,

0 commit comments

Comments
 (0)