Browse Source

debug iOS

zsviczian 3 năm trước cách đây
mục cha
commit
7436f3926b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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