Explorar el Código

Update textWysiwyg.tsx

zsviczian hace 3 años
padre
commit
9e17b64e5e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/element/textWysiwyg.tsx

+ 2 - 2
src/element/textWysiwyg.tsx

@@ -552,9 +552,9 @@ export const textWysiwyg = ({
       editable.onblur = () => {
         app.setState({
           toastMessage: "debug: " +
-          target instanceof HTMLElement
+          (target instanceof HTMLElement
             ? target.tagName ?? "no tagName"
-            : "not an HTMLElement",
+            : "not an HTMLElement"),
         });
         if (isShapeActionsPanel) {
           return;