0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-02 13:11:54 +01:00
gitea/web_src/js
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
..
components
features Show client-side error if wiki page is empty (#17415) 2021-10-27 12:33:22 +08:00
markup
standalone
vendor
easymde.js
index.js
jquery.js
publicpath.js
serviceworker.js
svg.js
utils.js Fix context popup error (#17398) 2021-10-22 22:34:01 +08:00
utils.test.js Fix context popup error (#17398) 2021-10-22 22:34:01 +08:00