mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 08:21:11 +00:00 
			
		
		
		
	- Use the combo markdown editor for the milestone description. The milestone description is rendered in markdown, so it makes sense to use a 'markdown-aware' editor. This also includes the option to use monospace font. - Resolves #5649
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import {initComboMarkdownEditor} from './comp/ComboMarkdownEditor.js';
 | 
						|
 | 
						|
export function initRepoMilestoneEditor() {
 | 
						|
  const editor = document.querySelector('.page-content.repository.milestone .combo-markdown-editor');
 | 
						|
  if (!editor) {
 | 
						|
    return;
 | 
						|
  }
 | 
						|
  initComboMarkdownEditor(editor);
 | 
						|
}
 |