mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Don't auto-init SimpleMDE for review textarea (#9574)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		
				
					committed by
					
						
						Antoine GIRARD
					
				
			
			
				
	
			
			
			
						parent
						
							9cf7048a6a
						
					
				
				
					commit
					b2b10858c6
				
			@@ -325,7 +325,7 @@ function initCommentForm() {
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  setCommentSimpleMDE($('.comment.form textarea'));
 | 
			
		||||
  setCommentSimpleMDE($('.comment.form textarea:not(.review-textarea)'));
 | 
			
		||||
  initBranchSelector();
 | 
			
		||||
  initCommentPreviewTab($('.comment.form'));
 | 
			
		||||
  initImagePaste($('.comment.form textarea'));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user