Browse Source

debug iOS

zsviczian 3 years ago
parent
commit
7436f3926b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/element/textWysiwyg.tsx

+ 3 - 0
src/element/textWysiwyg.tsx

@@ -575,6 +575,9 @@ export const textWysiwyg = ({
         !isWritableElement(event.target)) ||
       isTargetColorPicker
     ) {
+      this.setState({
+        toastMessage: "debug",
+      });
       editable.onblur = null;
       window.addEventListener("pointerup", bindBlurEvent);
       // handle edge-case where pointerup doesn't fire e.g. due to user