Ver Fonte

text word break

bianjiang há 1 ano atrás
pai
commit
266950eb86

+ 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;
   }