feat: use combo markdown editor for milestone description
- 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
This commit is contained in:
parent
2626f4ee3b
commit
4c6587d6a0
4 changed files with 22 additions and 2 deletions
9
web_src/js/features/repo-milestone.js
Normal file
9
web_src/js/features/repo-milestone.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue