Skip to content

Web UI does not allow empty wiki pages, but does not notify about that #17280

Closed
@delvh

Description

@delvh

Gitea Version

1.16.0+dev-339-gee73d8409

Operating System

Linux

Browser Version

Firefox 93

Can you reproduce the bug on the Gitea demo site?

Yes

Description

There seems to be a silent failure when attempting to publish a wiki page without content:
The save page button on the new page editor will simply act as if it was never pressed.
I think it would be better to notify the user that the content cannot be empty, just as the edit page editor does - yes, there is different behavior between the two.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions