mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-02 18:46:00 +01:00
fix: when editing text action buttons did not function
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user