[GH-ISSUE #19083] issue: output always copied with formatting (chrome) #34297

Closed
opened 2026-04-25 08:14:06 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @tomasloksa on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19083

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.36

Ollama Version (if applicable)

No response

Operating System

Windows 11 + Ubuntu 24.04

Browser (if applicable)

Chrome 141.0

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

When copying the response (or a part of response) from chat, the text should be copied without formatting and should be readable when pasted. This works correctly in Firefox and also works correctly in ChatGPT for all browsers.

Actual Behavior

In chrome, the text is copied with the background and formatting. When pasted into a word processor (ms word, libreoffice writer, outlook) the text keeps the background and is unreadable.

Now of course i can do Ctrl + Shift + V and paste it without the formatting, but it's an inconvenience and try explaining that to a less technical user.

Here is an example comparison:
Image

The "Copy Formatted Text" option in UI settings has no effect on this.

Steps to Reproduce

  1. Open Open WebUI in Google chrome (v141.0, but happens in other versions too).
  2. Select text in chat (response, prompt, part of response etc.)
  3. Ctrl+C
  4. Ctrl+V into a word processor

Logs & Screenshots

When pasting into an app with dark mode, it is readable but still looks bad.
Image

Additional Information

No response

Originally created by @tomasloksa on GitHub (Nov 10, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/19083 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.36 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 + Ubuntu 24.04 ### Browser (if applicable) Chrome 141.0 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior When copying the response (or a part of response) from chat, the text should be copied without formatting and should be readable when pasted. This works correctly in Firefox and also works correctly in ChatGPT for all browsers. ### Actual Behavior In chrome, the text is copied with the background and formatting. When pasted into a word processor (ms word, libreoffice writer, outlook) the text keeps the background and is unreadable. Now of course i can do Ctrl + Shift + V and paste it without the formatting, but it's an inconvenience and try explaining that to a less technical user. Here is an example comparison: <img width="856" height="697" alt="Image" src="https://github.com/user-attachments/assets/e6158eb9-44c1-4e14-aa2a-e8728f596f59" /> The "Copy Formatted Text" option in UI settings has no effect on this. ### Steps to Reproduce 1. Open Open WebUI in Google chrome (v141.0, but happens in other versions too). 2. Select text in chat (response, prompt, part of response etc.) 3. Ctrl+C 4. Ctrl+V into a word processor ### Logs & Screenshots When pasting into an app with dark mode, it is readable but still looks bad. <img width="1446" height="214" alt="Image" src="https://github.com/user-attachments/assets/8f82e7b9-e4b3-4da4-af60-315f8ae8c147" /> ### Additional Information _No response_
GiteaMirror added the buggood first issue labels 2026-04-25 08:14:07 -05:00
Author
Owner

@tjbck commented on GitHub (Nov 11, 2025):

PR welcome!

<!-- gh-comment-id:3515054273 --> @tjbck commented on GitHub (Nov 11, 2025): PR welcome!
Author
Owner

@tomasloksa commented on GitHub (Nov 11, 2025):

@tjbck Is it supposed to work with the "Copy formatted text" option in the UI settings? Or does that not apply to the select-copy-paste?

Image
<!-- gh-comment-id:3515601852 --> @tomasloksa commented on GitHub (Nov 11, 2025): @tjbck Is it supposed to work with the "Copy formatted text" option in the UI settings? Or does that not apply to the select-copy-paste? <img width="1110" height="304" alt="Image" src="https://github.com/user-attachments/assets/93f1b267-d604-4ee7-be43-d6a3c5d7892e" />
Author
Owner

@tjbck commented on GitHub (Nov 11, 2025):

@tomasloksa copy formatted text setting is for the button, not related to select-copy-paste.

<!-- gh-comment-id:3517770588 --> @tjbck commented on GitHub (Nov 11, 2025): @tomasloksa copy formatted text setting is for the button, not related to select-copy-paste.
Author
Owner

@RupanPrasai commented on GitHub (Nov 12, 2025):

Hi, I'm on Chrome version 142, and I cannot replicate this issue using Windows 11 and Microsoft word.

<!-- gh-comment-id:3519655293 --> @RupanPrasai commented on GitHub (Nov 12, 2025): Hi, I'm on Chrome version 142, and I cannot replicate this issue using Windows 11 and Microsoft word.
Author
Owner

@silentoplayz commented on GitHub (Nov 13, 2025):

I am able to reproduce this issue with Chrome version 141 on Ubuntu, but only if I manually select to highlight and copy text from an LLM's response and paste it into a word processor. If I use the Copy to Clipboard button below an LLM's response instead, then the issue isn't reproducible.

In this case, I used LibreOffice Writer to test the reproduction steps with.

Image

For clarity, I tested and reproduced this issue with the Copy formatted text option toggled Off in the user Interface settings.

<!-- gh-comment-id:3525022059 --> @silentoplayz commented on GitHub (Nov 13, 2025): I am able to reproduce this issue with Chrome version 141 on Ubuntu, but only if I manually select to highlight and copy text from an LLM's response and paste it into a word processor. If I use the `Copy to Clipboard` button below an LLM's response instead, then the issue isn't reproducible. In this case, I used LibreOffice Writer to test the reproduction steps with. <img width="824" height="1147" alt="Image" src="https://github.com/user-attachments/assets/47f61c1a-a01e-43b6-94a4-b83402e87ed2" /> For clarity, I tested and reproduced this issue with the `Copy formatted text` option toggled **Off** in the user `Interface` settings.
Author
Owner

@tjbck commented on GitHub (Nov 13, 2025):

Addressed with 2de854fa02 in dev!

<!-- gh-comment-id:3525527802 --> @tjbck commented on GitHub (Nov 13, 2025): Addressed with 2de854fa02e536a665bab436175ebb12997e3f5e in dev!
Author
Owner

@silentoplayz commented on GitHub (Nov 13, 2025):

Addressed with 2de854f in dev!

I can confirm that the issue has been addressed with this comment on the latest dev branch!

<!-- gh-comment-id:3527724163 --> @silentoplayz commented on GitHub (Nov 13, 2025): > Addressed with [2de854f](https://github.com/open-webui/open-webui/commit/2de854fa02e536a665bab436175ebb12997e3f5e) in dev! I can confirm that the issue has been addressed with this comment on the latest dev branch!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34297