mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Fix readme path and markdown link paste (#34755)
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