瀏覽代碼

Merge branch 'dev' of http://124.70.149.18:10880/lianghj/queenshow into dev

liwei 1 年之前
父節點
當前提交
face4bcf76
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/modules/editor/components/CompUI/basicUI/Text/component.tsx

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

@@ -236,12 +236,14 @@ const EditorComp = defineComponent({
 
 const readOnlyText = css`
   pointer-events: none;
+  word-break: break-all;
 `;
 
 const textStyle = css`
   font-size: 12px;
   width: 100%;
   color: #666;
+  word-break: break-all;
   p {
     margin: 0;
   }