Explorar el Código

Update textWysiwyg.tsx

zsviczian hace 3 años
padre
commit
2e04bcd485
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;