소스 검색

Update textWysiwyg.tsx

zsviczian 3 년 전
부모
커밋
b610c04481
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/element/textWysiwyg.tsx

+ 2 - 3
src/element/textWysiwyg.tsx

@@ -541,10 +541,9 @@ export const textWysiwyg = ({
       target instanceof HTMLInputElement &&
       target.closest(".color-picker-input") &&
       isWritableElement(target);
- 
+
     const isShapeActionsPanel =
-      (target instanceof HTMLElement ||
-        target instanceof SVGElement) &&
+      (target instanceof HTMLElement || target instanceof SVGElement) &&
       (target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
         target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
         target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&