mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: move contextMenu into the component tree and control via appState (#6021)
This commit is contained in:
parent
b704705ed8
commit
7e135c4e22
15 changed files with 1752 additions and 398 deletions
|
@ -152,7 +152,7 @@ describe("element locking", () => {
|
|||
expect(contextMenu).not.toBeNull();
|
||||
expect(
|
||||
contextMenu?.querySelector(
|
||||
`li[data-testid="toggleLock"] .context-menu-option__label`,
|
||||
`li[data-testid="toggleLock"] .context-menu-item__label`,
|
||||
),
|
||||
).toHaveTextContent(t("labels.elementLock.unlock"));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue