forgejo/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 Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
features Show client-side error if wiki page is empty (#17415) 2021-10-27 12:33:22 +08:00
markup Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
standalone
vendor
easymde.js
index.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
jquery.js
publicpath.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
serviceworker.js
svg.js Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
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