We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e74211 commit 4ceba9fCopy full SHA for 4ceba9f
src/editor.js
@@ -38,6 +38,8 @@ class CodeElement extends EventTarget {
38
// otherwise, enable basic editing features
39
// make the element editable
40
this.el.contentEditable = "true";
41
+ // disable spell checking and auto-correction
42
+ this.el.spellcheck = false;
43
// indent on Tab
44
this.el.addEventListener("keydown", this.handleIndent.bind(this));
45
// hide output on Esc
0 commit comments