浏览代码

text color picker

bianjiang 1 年之前
父节点
当前提交
53d697ffd3
共有 1 个文件被更改,包括 2 次插入1 次删除
  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();