1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

[markdown edit] modified 'font-family'; modified editor options

This commit is contained in:
llj
2015-12-07 18:09:10 +08:00
parent 08a5c17fb3
commit aacbf9a315

View File

@@ -18,6 +18,10 @@
#main {
min-height:0;
}
.editormd,
.editormd .CodeMirror {
font-family: inherit;
}
.editormd {
margin:0 auto;
}
@@ -282,6 +286,8 @@ var mdEditor = editormd('md-editor', {
pageBreak: false, // disable parse page break [========]
atLink: false, // for @link
previewCodeHighlight: false,
showTrailingSpace: false,
matchWordHighlight: false,
toolbarIcons: function () {
// custom toolbar