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
d969849357
commit
b610c04481
1 changed files with 2 additions and 3 deletions
|
@ -543,8 +543,7 @@ export const textWysiwyg = ({
|
||||||
isWritableElement(target);
|
isWritableElement(target);
|
||||||
|
|
||||||
const isShapeActionsPanel =
|
const isShapeActionsPanel =
|
||||||
(target instanceof HTMLElement ||
|
(target instanceof HTMLElement || target instanceof SVGElement) &&
|
||||||
target instanceof SVGElement) &&
|
|
||||||
(target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
|
(target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
|
||||||
target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
|
target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
|
||||||
target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&
|
target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue