From aacbf9a31582da537db8ec30453aff98f18b01a3 Mon Sep 17 00:00:00 2001 From: llj Date: Mon, 7 Dec 2015 18:09:10 +0800 Subject: [PATCH] [markdown edit] modified 'font-family'; modified editor options --- seahub/templates/file_edit.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/seahub/templates/file_edit.html b/seahub/templates/file_edit.html index 4cf6c10c85..2ef844659d 100644 --- a/seahub/templates/file_edit.html +++ b/seahub/templates/file_edit.html @@ -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