mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-23 09:21:00 +02: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:
@@ -115,6 +115,9 @@ describe("textWysiwyg", () => {
|
||||
height: textSize,
|
||||
containerId: container.id,
|
||||
});
|
||||
mutateElement(container, {
|
||||
boundElements: [{ type: "text", id: text.id }],
|
||||
});
|
||||
|
||||
h.elements = [container, text];
|
||||
|
||||
|
Reference in New Issue
Block a user