From 0fb70a1487f6c2ce612c372f12aaf157078a478f Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Wed, 20 Apr 2016 18:09:36 +0800 Subject: Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option --- public/js/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'public/js/index.js') 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, -- cgit v1.2.3