Explorar o código

Update textWysiwyg.tsx

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