Issue with Copying Formatted Text from the Chat

Description:
When copying text generated with formatting (e.g., headings, lists, or other Markdown/HTML elements), the text gets split into separate parts. This makes it difficult to work with the text in editors that require a single block of plain text.
Steps to Reproduce:
• Submit a request for generating text that includes formatting (for example, a biography with headings and lists).
• Generate an answer that contains Markdown formatting.
• Attempt to copy the text from the chat window and paste it into a text editor.
Expected Result:
The text should copy as a single block without extra breaks, while preserving a readable format.
Actual Result:
The text is split into separate parts, resulting in unwanted line breaks and issues when using the text later.
Additional Information:
• The issue occurs when copying text with formatting (Markdown, HTML).
• When copying in plain text mode (without formatting), this issue does not occur.
• A possible solution is to add a button or option to copy in plain text format to avoid splitting the text.
Conclusion:
This issue may complicate the process of transferring text to other applications. It would be beneficial to consider optimizing the copy function so that the text is preserved as a single block without unwanted formatting.
If additional details or reproduction on other devices are needed, I am ready to provide further information.

1 Like