mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #17839] issue: Copying text from edit box and pasting it elsewhere produces 3 blank lines for each original blank line #57079
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rotemdan on GitHub (Sep 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17839
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.31
Ollama Version (if applicable)
No response
Operating System
Windows 11 24H2
Browser (if applicable)
Brave 1.82.172 (Official Build) (64-bit) Chromium: 140.0.7339.207
Confirmation
README.md.Expected Behavior
Regular browser text box behavior.
Actual Behavior
On a recent update (currently I'm at
v0.6.31), empty lines started to use more vertical space.This text has a single empty line (although it looks like more):

But copying the text from the edit box and pasting it elsewhere now adds 3 empty lines for a single empty line in the text box (this is after pasting in VSCode)

I have rich text and predictive text disabled, so it's not related to any of those.
Also, it shows some sort of rich-text like behavior when I type the
/character. This is new (didn't happen before a recent update):Steps to Reproduce
Write text with some blank lines in the chat text box and copy and paste it elsewhere.
Logs & Screenshots
Included above.
Additional Information
Rich and predictive text modes disabled.
Also happens in latest Firefox (so not likely Chromium specific).
@tjbck commented on GitHub (Sep 28, 2025):
Addressed in dev!
@rotemdan commented on GitHub (Sep 29, 2025):
Thanks a lot. It fixed it when copying text I've written directly in the text box.
But now if I copy text from an external source like VScode:
And paste it into the edit box:
And then copy it back to VSCode, blank lines are lost:
I noticed it in the new version from a few hours ago and initially didn't understand why it was sometimes happening and sometimes didn't, until I realized it happened when I pasted text and then copied it back to somewhere else (I wrote a long message that initially wrote in VSCode, then modified it in
open-webui, then copied it back to VSCode and then all the empty lines were gone).