mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Refactor markdown editor and use it for milestone description editor (#32688)
Refactor markdown editor to clarify its "preview" behavior and remove jQuery code. Close #15045 --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		| @@ -414,11 +414,6 @@ export function initRepoPullRequestReview() { | ||||
|     await handleReply(this); | ||||
|   }); | ||||
|  | ||||
|   const elReviewBox = document.querySelector('.review-box-panel'); | ||||
|   if (elReviewBox) { | ||||
|     initComboMarkdownEditor(elReviewBox.querySelector('.combo-markdown-editor')); | ||||
|   } | ||||
|  | ||||
|   // The following part is only for diff views | ||||
|   if (!$('.repository.pull.diff').length) return; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wxiaoguang
					wxiaoguang