mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 20:44:07 +00: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);
|
|
}
|