0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-25 08:11:19 +01:00
gitea/web_src/js/features
silverwind 5550226571
Improve textarea paste (#31948)
- When pasting a URL over another URL, replace the URL instead of
creating a useless `[url](url)`. This is the 1-line change
[here](https://github.com/go-gitea/gitea/pull/31948/files#diff-be8e94d7e3da33b187381f53d28095107bd0cf29ae9a9e997e4f422f4a54479cR122).
- Always run `initTextareaEvents`, previously it was not run when
`dropzoneEl` was not present like when attachements are disabled on the
server. Refactored the function to gracefully handle absent `dropzoneEl`
and rename the function to a better name.
2024-09-01 15:15:29 +00:00
..
admin
comp Improve textarea paste (#31948) 2024-09-01 15:15:29 +00:00
autofocus-end.ts
captcha.ts
citation.ts
clipboard.ts
code-frequency.ts
codeeditor.ts
colorpicker.ts
common-button.ts
common-fetch-action.ts
common-form.ts
common-issue-list.test.ts
common-issue-list.ts
common-organization.ts
common-page.ts
contextpopup.ts
contributors.ts
copycontent.ts
dropzone.ts
emoji.ts
eventsource.sharedworker.ts
file-fold.ts
heatmap.ts
imagediff.ts
install.ts
notification.ts
oauth2-settings.ts
org-team.ts
pull-view-file.ts
recent-commits.ts
repo-branch.ts
repo-code.test.ts
repo-code.ts
repo-commit.ts
repo-common.ts
repo-diff-commit.ts
repo-diff-commitselect.ts
repo-diff-filetree.ts
repo-diff.ts
repo-editor.ts
repo-findfile.test.ts
repo-findfile.ts
repo-graph.ts
repo-home.ts
repo-issue-content.ts
repo-issue-edit.ts
repo-issue-list.ts
repo-issue-pr-form.ts
repo-issue-pr-status.ts
repo-issue.ts
repo-legacy.ts
repo-migrate.ts
repo-migration.ts
repo-projects.ts
repo-release.ts
repo-search.ts
repo-settings.ts
repo-template.ts
repo-unicode-escape.ts
repo-wiki.ts
scoped-access-token.ts
sshkey-helper.ts
stopwatch.ts
tablesort.ts
tribute.ts
user-auth-webauthn.ts
user-auth.ts
user-settings.ts