githaven-fork/templates/repo/wiki
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
..
new.tmpl Show client-side error if wiki page is empty (#17415) 2021-10-27 12:33:22 +08:00
pages.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
revision.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
start.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
view.tmpl Add edit button to wiki sidebar and footer (#16719) 2021-08-18 14:14:08 -04:00