gitea/templates
David Jimenez a462fcaac8
Show client-side error if wiki page is empty (#17415)
* 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>
2021-10-27 12:33:22 +08:00
..
admin Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
base Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
custom
explore
mail Fix missing repo link in issue/pull assigned emails (#17183) 2021-09-30 01:20:18 +02:00
org Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
repo Show client-side error if wiki page is empty (#17415) 2021-10-27 12:33:22 +08:00
shared
status
swagger Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00
user Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 2021-10-22 17:19:24 +08:00
home.tmpl
install.tmpl
post-install.tmpl