feat: Support updating text properties by clicking on container (#4499)

This commit is contained in:
Aakansha Doshi 2021-12-29 16:49:52 +05:30 committed by GitHub
parent 11396a21de
commit dd8e465304
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 99 additions and 55 deletions

View file

@ -71,7 +71,11 @@ export const actionPasteStyles = register({
element.containerId,
);
}
redrawTextBoundingBox(element as ExcalidrawTextElement, container);
redrawTextBoundingBox(
element as ExcalidrawTextElement,
container,
appState,
);
}
return newElement;
}