mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 12:22:23 +03:00
4c6587d6a0
- 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);
|
|
}
|