Explorar o código

Update textWysiwyg.tsx

zsviczian %!s(int64=3) %!d(string=hai) anos
pai
achega
2e04bcd485
Modificáronse 1 ficheiros con 1 adicións e 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;