fix: stop event propagation when deleting selected workflow var node (#4158)

This commit is contained in:
Whitewater
2024-05-07 21:00:43 +08:00
committed by GitHub
parent 2fdd64c1b5
commit 97dcb8977a
2 changed files with 7 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ export const useSelectOrDelete: UseSelectOrDeleteHanlder = (nodeKey: string, com
editor.dispatchCommand(command, undefined)
node.remove()
return true
}
}