diff --git a/client/ui/chat/Message.tsx b/client/ui/chat/Message.tsx index dd7a2e7..45ab6b2 100644 --- a/client/ui/chat/Message.tsx +++ b/client/ui/chat/Message.tsx @@ -126,7 +126,7 @@ export default function Message({ userId, rawData, renderHTML, message, ...props e.stopPropagation() setDropDownOpen(false) }}> - copyToClipboard($(dropDownRef.current as HTMLElement).find('#msg').text())}>複製文字 + copyToClipboard($(dropDownRef.current as HTMLElement).find('#msg').text().trim())}>複製文字 copyToClipboard(rawData)}>複製原文 messageJsonDialogRef.current.open = true}>查看詳情