From 04b4c2239fb11f5e73da42702531e9a35fbcf114 Mon Sep 17 00:00:00 2001 From: zsviczian Date: Mon, 1 Dec 2025 11:47:43 +0000 Subject: [PATCH] fix: when editing text action buttons did not function --- packages/excalidraw/actions/actionProperties.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/excalidraw/actions/actionProperties.tsx b/packages/excalidraw/actions/actionProperties.tsx index 76caa7e22e..5eb64bc8b5 100644 --- a/packages/excalidraw/actions/actionProperties.tsx +++ b/packages/excalidraw/actions/actionProperties.tsx @@ -1648,7 +1648,7 @@ export const actionChangeContainerBehavior = register< captureUpdate: CaptureUpdateAction.IMMEDIATELY, }; } - const nextElements = changeProperty(elements, appState, (el) => + const nextElements = elements.map((el) => containerIdsToUpdate.has(el.id) ? newElementWith(el, { containerBehavior: { @@ -1686,7 +1686,7 @@ export const actionChangeContainerBehavior = register< }; } const textFlow = value.textFlow; - const nextElements = changeProperty(elements, appState, (el) => + const nextElements = elements.map((el) => containerIdsToUpdate.has(el.id) ? newElementWith(el, { containerBehavior: {