bianjiang преди 1 година
родител
ревизия
266950eb86
променени са 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

@@ -223,12 +223,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;
   }