1
1
mirror of https://github.com/go-gitea/gitea synced 2024-09-21 11:16:03 +00:00
gitea/web_src/js/features/comp
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
..
ComboMarkdownEditor.ts Improve textarea paste (#31948) 2024-09-01 15:15:29 +00:00
ConfirmModal.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EasyMDEToolbarActions.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EditorMarkdown.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EditorUpload.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EditorUpload.ts Improve textarea paste (#31948) 2024-09-01 15:15:29 +00:00
LabelEdit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
QuickSubmit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
ReactionSelector.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
SearchUserBox.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
TextExpander.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
WebHookEditor.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00