mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 02:36:10 +01: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
10 lines
288 B
JavaScript
10 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);
|
|
}
|