You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
components Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
features Show client-side error if wiki page is empty (#17415) 3 years ago
markup Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
standalone docs: swagger show models by default (#14880) 4 years ago
vendor Restore Accessibility for Dropdown (#16576) 4 years ago
easymde.js Switch from SimpleMDE to EasyMDE (#13333) 4 years ago
index.js Split `index.js` to separate files (#17315) 3 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
publicpath.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 5 years ago
svg.js Save and view issue/comment content history (#16909) 3 years ago
utils.js Fix context popup error (#17398) 3 years ago
utils.test.js Fix context popup error (#17398) 3 years ago