Browse Source

Update textWysiwyg.tsx

zsviczian 3 năm trước cách đây
mục cha
commit
2e04bcd485
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/element/textWysiwyg.tsx

+ 1 - 1
src/element/textWysiwyg.tsx

@@ -575,7 +575,7 @@ export const textWysiwyg = ({
         !isWritableElement(event.target)) ||
       isTargetColorPicker
     ) {
-      this.setState({
+      app.setState({
         toastMessage: "debug",
       });
       editable.onblur = null;