Merge pull request #3102 from minrk/spellcheck

set `spellcheck=false` in CodeCell inputarea
This commit is contained in:
Matthias Bussonnier 2013-04-01 07:09:12 -07:00
commit a8873230bf

View File

@ -120,6 +120,7 @@ var IPython = (function (IPython) {
vbox.append(this.celltoolbar.element);
var input_area = $('<div/>').addClass('input_area');
this.code_mirror = CodeMirror(input_area.get(0), this.cm_config);
$(this.code_mirror.getInputField()).attr("spellcheck", "false");
vbox.append(input_area);
input.append(vbox);
var output = $('<div></div>');