gitea/templates
David Jimenez a462fcaac8
Show client-side error if wiki page is empty ()
* fix: show client-side error if wiki page is empty

Implement a JS, client-side validation workaround for a bug in the upstream
editor library SimpleMDE which breaks HTML5 client-side validation when
a wiki page is submitted.

This allows native, client-side errors to appear if
the text editor contents are empty.

See upstream bugfix report: https://github.com/sparksuite/simplemde-markdown-editor/issues/324

Signed-off-by: David Jimenez <dvejmz@sgfault.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
..
admin Disable form autofill ()
base Frontend refactor, PascalCase to camelCase, remove unused code ()
custom Add footer extra links template ()
explore Issue sidebar and misc css fixes ()
mail Fix missing repo link in issue/pull assigned emails ()
org Make mirror feature more configurable ()
repo Show client-side error if wiki page is empty ()
shared Remove branch URL before IssueRefURL ()
status Rename StaticUrlPrefix to AssetUrlPrefix ()
swagger Add API to get/edit wiki ()
user Add groups scope/claim to OIDC/OAuth2 Provider ()
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix ()
install.tmpl Remove utf8 option from installation page ()
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix ()