mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: bind text to correct container when nested (#5307)
* fix: bind text to correct container when nested * fix tests
This commit is contained in:
parent
ddf088e428
commit
ec35d5db51
2 changed files with 7 additions and 3 deletions
|
@ -115,6 +115,9 @@ describe("textWysiwyg", () => {
|
|||
height: textSize,
|
||||
containerId: container.id,
|
||||
});
|
||||
mutateElement(container, {
|
||||
boundElements: [{ type: "text", id: text.id }],
|
||||
});
|
||||
|
||||
h.elements = [container, text];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue