mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Backport #34755 by wxiaoguang Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -135,7 +135,7 @@ function handleClipboardText(textarea: HTMLTextAreaElement, e: ClipboardEvent, p | ||||
|  | ||||
|   // when pasting links over selected text, turn it into [text](link) | ||||
|   const pastedAsMarkdown = pasteAsMarkdownLink(textarea, pastedText); | ||||
|   if (pastedText) { | ||||
|   if (pastedAsMarkdown) { | ||||
|     e.preventDefault(); | ||||
|     replaceTextareaSelection(textarea, pastedAsMarkdown); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user