Procházet zdrojové kódy

Update textWysiwyg.tsx

zsviczian před 3 roky
rodič
revize
2e04bcd485
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;