mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update textWysiwyg.tsx
This commit is contained in:
parent
e61b447413
commit
e429b7048d
1 changed files with 5 additions and 6 deletions
|
@ -563,12 +563,11 @@ export const textWysiwyg = ({
|
|||
event.target.closest(".color-picker-input") &&
|
||||
isWritableElement(event.target);
|
||||
const isShapeActionsPanel =
|
||||
((event.target instanceof HTMLElement ||
|
||||
event.target instanceof SVGElement) && (
|
||||
event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
|
||||
(event.target instanceof HTMLElement ||
|
||||
event.target instanceof SVGElement) &&
|
||||
(event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
|
||||
event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
|
||||
event.target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)
|
||||
));
|
||||
event.target.closest(`.${CLASSES.MOBILE_TOOLBAR}`));
|
||||
if (
|
||||
((event.target instanceof HTMLElement ||
|
||||
event.target instanceof SVGElement) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue