[GH-ISSUE #4427] FR: add code block button to toggle line wrapping #13604

Closed
opened 2026-04-19 20:17:06 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @thiswillbeyourgithub on GitHub (Aug 7, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4427

Is your feature request related to a problem? Please describe.
There's no way to toggle linewrapping in code blocks in the chats, it's especially annoying on mobile phones and other vertical screens.

Example screenshot:
image

Describe the solution you'd like
Adding a button there to toggle line wrapping as in this screenshot:
image

Describe alternatives you've considered
Horizontal scrolling, quickly annoying.

Originally created by @thiswillbeyourgithub on GitHub (Aug 7, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/4427 **Is your feature request related to a problem? Please describe.** There's no way to toggle linewrapping in code blocks in the chats, it's especially annoying on mobile phones and other vertical screens. Example screenshot: ![image](https://github.com/user-attachments/assets/714c3737-2d98-4b1a-85a9-5056030b0ae5) **Describe the solution you'd like** Adding a button there to toggle line wrapping as in this screenshot: ![image](https://github.com/user-attachments/assets/dffa7215-0721-42f6-b04d-a70857d4e777) **Describe alternatives you've considered** Horizontal scrolling, quickly annoying.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#13604