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
commit 97dcb8977a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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
}
}