Skip to content

Re-editing issue should open "Write", not "Preview" #19031

Closed
@FWDekker

Description

@FWDekker

Gitea Version

1.15.9

Operating System

FreeBSD 13

Browser Version

Firefox 96.0.3

Can you reproduce the bug on the Gitea demo site?

No
(I was unable to create an account at try.gitea.io.)

Description

If a user edits an issue, then previews, then saves/cancels, and then edits again, the editor will start at "Preview" instead of "Write".

I think it would make more sense to forcefully jump to the "Write" tab when a user edits the contents of an issue.

Screenshots

Not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions