Browse Source

Update textWysiwyg.tsx

zsviczian 3 years ago
parent
commit
eda2320dae
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/element/textWysiwyg.tsx

+ 1 - 2
src/element/textWysiwyg.tsx

@@ -546,8 +546,7 @@ export const textWysiwyg = ({
       (target instanceof HTMLElement || target instanceof SVGElement) &&
       (target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
         target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
-        target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&
-      !isWritableElement(target);
+        target.closest(`.${CLASSES.MOBILE_TOOLBAR}`));
 
     setTimeout(() => {
       editable.onblur = () => {