summaryrefslogtreecommitdiff
path: root/public/js/index.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-04-20 18:09:36 +0800
committerCheng-Han, Wu2016-04-20 18:09:36 +0800
commit0fb70a1487f6c2ce612c372f12aaf157078a478f (patch)
tree9d5bd6375e34e2df0613309dfa2a9d552ff81b15 /public/js/index.js
parent692903f1a10606b0e14d50623663a4c591c42674 (diff)
Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 695d9d22..ca99d8c9 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -253,6 +253,7 @@ var textit = document.getElementById("textit");
if (!textit) throw new Error("There was no textit area!");
var editor = CodeMirror.fromTextArea(textit, {
mode: 'gfm',
+ backdrop: 'gfm',
keyMap: "sublime",
viewportMargin: viewportMargin,
styleActiveLine: true,