Browse Source

text color picker

bianjiang 1 year ago
parent
commit
53d697ffd3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/editor/components/CompUI/basicUI/Text/component.tsx

+ 2 - 1
src/modules/editor/components/CompUI/basicUI/Text/component.tsx

@@ -189,10 +189,11 @@ const EditorComp = defineComponent({
     function blurHandle() {
       function blur(e: MouseEvent) {
         const target = e.target as HTMLElement;
+
         if (!editorInstance.value) return;
 
         if (isInCkBodyWrapper(target)) {
-          e.stopPropagation();
+          // e.stopPropagation();
           return;
         }
         actions.submitUpdate();