Skip to content

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

@silverwind

Description

@silverwind

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions