mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #4427] FR: add code block button to toggle line wrapping #13604
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 @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:

Describe the solution you'd like

Adding a button there to toggle line wrapping as in this screenshot:
Describe alternatives you've considered
Horizontal scrolling, quickly annoying.