diff --git a/src/app/shared/rete-editor/rete-editor.ts b/src/app/shared/rete-editor/rete-editor.ts index 5499b02..2ef5b57 100644 --- a/src/app/shared/rete-editor/rete-editor.ts +++ b/src/app/shared/rete-editor/rete-editor.ts @@ -217,6 +217,10 @@ export class ReteEditor implements OnChanges, OnDestroy { if (!host) return; const currentVersion = ++this.loadVersion; + this.editorMode.set('standard'); + this.selectionPointerId = null; + this.selectionStart = null; + this.selectionBox.set(null); this.flowState.clearBlockSelection(); this.suppressDirtyEvents = true; this.rete?.area.destroy();