gitea/web_src/js/features
silverwind 469dc4459b
Add monospace toggle button to textarea ()
- Add new button to textarea to switch font. State is persisted in
localStorage.
- Change markdown-switch-easymde button from `<span>` to `<button>`
- Slightly increased monospace font globally by 5% as I think it fits
better.

For hover effect on these buttons I'm deferring to
https://github.com/go-gitea/gitea/pull/23896.


![](https://user-images.githubusercontent.com/115237/230948526-ecf8d730-0c69-4a8e-a1a5-1e5e079c754d.gif)

---------

Co-authored-by: delvh <dev.lh@web.de>
..
admin Use auto-updating, natively hoverable, localized time elements ()
comp Add monospace toggle button to textarea ()
captcha.js Add new captcha: cloudflare turnstile ()
citation.js Fix switched citation format ()
clipboard.js Use clippie module to copy to clipboard ()
codeeditor.js Allow new file and edit file preview if it has editable extension ()
colorpicker.js JS refactors ()
common-global.js Fix dropdown direction behavior ()
common-organization.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
contextpopup.js Introduce GitHub markdown editor, keep EasyMDE as fallback ()
copycontent.js Use clippie module to copy to clipboard ()
dropzone.js JS refactors ()
emoji.js JS refactors ()
eventsource.sharedworker.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers ()
file-fold.js Scroll collapsed file into view ()
heatmap.js JS refactors ()
imagediff.js Fix various ImageDiff/SVG bugs ()
install.js Fix various bugs for "install" page ()
notification.js Move helpers to be prefixed with `gt-` ()
org-team.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
pull-view-file.js Expand/Collapse all changed files ()
repo-branch.js Add apply-patch, basic revert and cherry-pick functionality ()
repo-code.js Use clippie module to copy to clipboard ()
repo-code.test.js Ignore line anchor links with leading zeroes ()
repo-commit.js Fix hidden commit status on multiple checks ()
repo-common.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-diff-filetree.js JS refactors ()
repo-diff.js Expand/Collapse all changed files ()
repo-editor.js Add popup to hashed comments/pull requests/issues in file editing/adding preview tab ()
repo-findfile.js Refactor branch/tag selector to Vue SFC ()
repo-findfile.test.js Refactor branch/tag selector to Vue SFC ()
repo-graph.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-home.js Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form ()
repo-issue-content.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-issue-list.js Refactor authors dropdown (send get request from frontend to avoid long wait time) ()
repo-issue-pr-form.js JS refactors ()
repo-issue.js Refactor authors dropdown (send get request from frontend to avoid long wait time) ()
repo-legacy.js Introduce GitHub markdown editor, keep EasyMDE as fallback ()
repo-migrate.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-migration.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-projects.js Sync the class change of Edit Column Button to JS code ()
repo-release.js Introduce GitHub markdown editor, keep EasyMDE as fallback ()
repo-settings.js Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ()
repo-template.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-unicode-escape.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
repo-wiki.js Improve markdown editor: width, height, preferred ()
serviceworker.js JS refactors ()
sshkey-helper.js Use explicit jQuery import, remove unused eslint globals ()
stopwatch.js Move helpers to be prefixed with `gt-` ()
tablesort.js JS refactors ()
tribute.js Introduce GitHub markdown editor, keep EasyMDE as fallback ()
user-auth-webauthn.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
user-auth.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
user-settings.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()