mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Add hooks to Node Lifecycle (#1882)
* ⚡ add hook when closing node editing view * ⚡ add hook for node deletion * ⚡ add hook call to escape key
This commit is contained in:
@@ -453,6 +453,7 @@ export default mixins(
|
||||
|
||||
this.callDebounced('deleteSelectedNodes', 500);
|
||||
} else if (e.key === 'Escape') {
|
||||
this.$externalHooks().run('dataDisplay.nodeEditingFinished');
|
||||
this.createNodeActive = false;
|
||||
this.$store.commit('setActiveNode', null);
|
||||
} else if (e.key === 'Tab') {
|
||||
|
||||
Reference in New Issue
Block a user