Add "Wrap text" button to inline code blocks #14879

Open
opened 2025-11-02 11:25:00 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @silverwind on GitHub (Aug 19, 2025).

Feature Description

It would be very useful if inline code blocks have a button to toggle text wrap. This is implemented in other products, for example:

Confluence:

Image

MS Teams:

Image

I think it's sufficient to remember this setting in browser localStorage.

Question is whether we also want to implement this button in the code view and whether the setting should be shared with inline code blocks or separate.

Originally created by @silverwind on GitHub (Aug 19, 2025). ### Feature Description It would be very useful if inline code blocks have a button to toggle text wrap. This is implemented in other products, for example: Confluence: <img width="104" height="59" alt="Image" src="https://github.com/user-attachments/assets/06a52171-c897-4f40-be85-ce33b4ebad24" /> MS Teams: <img width="160" height="118" alt="Image" src="https://github.com/user-attachments/assets/365715b5-245d-4072-80b0-7d0b722c8be6" /> I think it's sufficient to remember this setting in browser localStorage. Question is whether we also want to implement this button in the code view and whether the setting should be shared with inline code blocks or separate.
GiteaMirror added the type/proposaltopic/ui labels 2025-11-02 11:25:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14879