mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
Merge pull request #928 from haiwen/markdown_edit
[markdown edit] modified 'font-family'; modified editor options
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
#main {
|
#main {
|
||||||
min-height:0;
|
min-height:0;
|
||||||
}
|
}
|
||||||
|
.editormd,
|
||||||
|
.editormd .CodeMirror {
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
.editormd {
|
.editormd {
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
}
|
}
|
||||||
@@ -282,6 +286,8 @@ var mdEditor = editormd('md-editor', {
|
|||||||
pageBreak: false, // disable parse page break [========]
|
pageBreak: false, // disable parse page break [========]
|
||||||
atLink: false, // for @link
|
atLink: false, // for @link
|
||||||
previewCodeHighlight: false,
|
previewCodeHighlight: false,
|
||||||
|
showTrailingSpace: false,
|
||||||
|
matchWordHighlight: false,
|
||||||
|
|
||||||
toolbarIcons: function () {
|
toolbarIcons: function () {
|
||||||
// custom toolbar
|
// custom toolbar
|
||||||
|
Reference in New Issue
Block a user