Skip to content

Commit 1f73dda

Browse files
Update web_src/js/features/repo-wiki.js
Co-authored-by: silverwind <[email protected]>
1 parent ab1b645 commit 1f73dda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/features/repo-wiki.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ async function initRepoWikiFormEditor() {
4747
useScene: 'wiki',
4848
// EasyMDE has some problems of height definition, it has inline style height 300px by default, so we also use inline styles to override it.
4949
// And another benefit is that we only need to write the style once for both editors.
50+
// TODO: Move height style to CSS after EasyMDE removal.
5051
editorHeights: {minHeight: '300px', height: 'calc(100vh - 600px)'},
5152
previewMode: 'gfm',
5253
previewWiki: true,

0 commit comments

Comments
 (0)