瀏覽代碼

debug iOS

zsviczian 3 年之前
父節點
當前提交
7436f3926b
共有 1 個文件被更改,包括 3 次插入0 次删除
  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