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 9843a45 commit d4b01efCopy full SHA for d4b01ef
code-input.js
@@ -657,7 +657,10 @@ var codeInput = {
657
textarea.value = value;
658
}
659
textarea.innerHTML = this.innerHTML;
660
- textarea.setAttribute("spellcheck", "false");
+ if(!this.hasAttribute("spellcheck")) {
661
+ // For backwards compatibklity:
662
+ textarea.setAttribute("spellcheck", "false");
663
+ }
664
665
// Disable focusing on the code-input element - only allow the textarea to be focusable
666
textarea.setAttribute("tabindex", this.getAttribute("tabindex") || 0);
0 commit comments