Skip to content

Monospace font settings broken in comment/issue editor #36175

@didim99

Description

@didim99

Description

When you open a comment editor via "Edit" menu first time after page load, the font will be proportional regardless of font setting in upper right corner, but text on button says "disable monospace font". It seems to setting is properly stored in browser between reloads but not applied in editor and you need to double click button to enable monospace font again.

Gitea Version

1.25.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

Not matters

Operating System

Not matters

How are you running Gitea?

Using demo.gitea.com, self-hosted

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions