Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(thread-comment-ui): add word break style to thread comment items (#4856)
白熱7601babebbe5
diff --git a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsxindex e7196bd413..0be30318e4 100644--- a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx+++ b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx@@ -186,7 +186,7 @@ const ThreadCommentItem = (props: IThreadCommentItemProps) => {: (<div className={styles.threadCommentItemContent}>{transformDocument2TextNodes(item.text).map((paragraph, i) => (- <div key={i}>+ <div key={i} className="univer-break-words">{paragraph.map((item, i) => {switch (item.type) {case 'mention':