fix: center align text when wrapped in container via context menu (#6480)

* rename action to wrapTextInContainer

* fix: center align text when wrapped in container via context menu

* revert translation key

* fix tests
This commit is contained in:
Aakansha Doshi 2023-04-18 19:44:14 +05:30 committed by GitHub
parent 4d0d844e39
commit 979312f779
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 13 deletions

View file

@ -1506,7 +1506,7 @@ describe("textWysiwyg", () => {
expect.objectContaining({
text: "Excalidraw is an opensource virtual collaborative whiteboard",
verticalAlign: VERTICAL_ALIGN.MIDDLE,
textAlign: TEXT_ALIGN.LEFT,
textAlign: TEXT_ALIGN.CENTER,
boundElements: null,
}),
);