forgejo/web_src/js/features
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
..
comp
admin-common.js
admin-emails.js
admin-users.js
clipboard.js
codeeditor.js
colorpicker.js
common-global.js
common-issue.js
common-organization.js
contextpopup.js
diff.js
dropzone.js
emoji.js
eventsource.sharedworker.js
gitgraph.js
heatmap.js
imagediff.js
install.js
issue-content-history.js
lastcommitloader.js
migration.js
notification.js
org-team.js
projects.js
repo-branch.js
repo-code.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
repo-commit.js
repo-common.js
repo-diff.js
repo-editor.js
repo-home.js
repo-issue.js
repo-legacy.js
repo-migrate.js
repo-release.js
repo-settings.js
repo-template.js
repo-wiki.js Show client-side error if wiki page is empty (#17415) 2021-10-27 12:33:22 +08:00
serviceworker.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-u2f.js
user-auth.js
user-settings.js