Explorar el Código

Update textWysiwyg.tsx

zsviczian hace 3 años
padre
commit
531829d95e
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/element/textWysiwyg.tsx

+ 4 - 1
src/element/textWysiwyg.tsx

@@ -564,7 +564,10 @@ export const textWysiwyg = ({
         });
         handleSubmit();
       };
-      if (target && isTargetColorPicker) {
+      if (
+        target &&
+        (isTargetColorPicker || isShapeActionsPanel)
+      ) {
         target.onblur = () => {
           editable.focus();
         };