mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge 478361194e
into 192c4e7658
This commit is contained in:
commit
7e77a818e5
1 changed files with 19 additions and 0 deletions
|
@ -9335,6 +9335,25 @@ class App extends React.Component<AppProps, AppState> {
|
|||
},
|
||||
{ informMutation: false, isDragging: false },
|
||||
);
|
||||
|
||||
const boundText = getBoundTextElement(
|
||||
element,
|
||||
this.scene.getNonDeletedElementsMap(),
|
||||
);
|
||||
|
||||
if (boundText) {
|
||||
const boundTextIndex = boundText.groupIds.indexOf(
|
||||
this.state.editingGroupId!,
|
||||
);
|
||||
|
||||
mutateElement(
|
||||
boundText,
|
||||
{
|
||||
groupIds: boundText.groupIds.slice(0, boundTextIndex),
|
||||
},
|
||||
false,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
nextElements.forEach((element) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue