Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option

This commit is contained in:
Cheng-Han, Wu 2016-04-20 18:09:36 +08:00
parent 692903f1a1
commit 0fb70a1487
8 changed files with 49151 additions and 0 deletions

View file

@ -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,