codemirror 字体修改

This commit is contained in:
Van 2014-10-21 17:29:11 +08:00
parent 525f573f73
commit 6f63918f12
4 changed files with 7 additions and 4 deletions

View File

@ -55,5 +55,6 @@
"donate": "捐赠", "donate": "捐赠",
"confirm_save": "请确认所有文件已保存", "confirm_save": "请确认所有文件已保存",
"workspace": "工作空间", "workspace": "工作空间",
"project_address": "项目地址" "project_address": "项目地址",
"community": "社区"
} }

View File

@ -224,7 +224,8 @@
overflow-y: auto; overflow-y: auto;
} }
.CodeMirror { .CodeMirror,
.CodeMirror-hints {
font-family: Consolas, Courier New, monospace; font-family: Consolas, Courier New, monospace;
} }

View File

@ -123,7 +123,7 @@ var editors = {
length = 10; length = 10;
} }
var listHTML = "<ul><li class='title'>社区</li>"; var listHTML = "<ul><li class='title'>" + config.label.community + "</li>";
for (var i = 0; i < length; i++) { for (var i = 0; i < length; i++) {
var article = articles[i]; var article = articles[i];
listHTML += "<li>" listHTML += "<li>"

View File

@ -217,7 +217,8 @@
"search_text": "{{.i18n.search_text}}", "search_text": "{{.i18n.search_text}}",
"search": "{{.i18n.search}}", "search": "{{.i18n.search}}",
"initialise": "{{.i18n.initialise}}", "initialise": "{{.i18n.initialise}}",
"confirm_save": "{{.i18n.confirm_save}}" "confirm_save": "{{.i18n.confirm_save}}",
"community": "{{.i18n.community}}"
}, },
"channel": { "channel": {
"editor": '{{.conf.EditorChannel}}', "editor": '{{.conf.EditorChannel}}',