From 192741fde57479caea31432b42d5be6d7c3ed99c Mon Sep 17 00:00:00 2001 From: istarkov Date: Fri, 20 Dec 2024 18:04:19 +0000 Subject: [PATCH] Fix synchro --- .../features/workspace/canvas-tools/outline/block-utils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-utils.ts b/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-utils.ts index 98a97a040c56..c20096643ceb 100644 --- a/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-utils.ts +++ b/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-utils.ts @@ -138,6 +138,8 @@ export const insertTemplateAt = ( selector: editableInstanceSelector, reason: "new", }); + } else { + $textEditingInstanceSelector.set(undefined); } selectInstance([newRootInstanceId, ...target.parentSelector]);