From a0fba62955109facae21a6f172078ad115f3cb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 3 Dec 2024 16:38:42 +0100 Subject: [PATCH] Disable spellchecker for interactive code examples Otherwise almost all identifiers will be marked as erroneous. --- js/interactive-examples.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/interactive-examples.js b/js/interactive-examples.js index b80c114b48..4c711928cc 100644 --- a/js/interactive-examples.js +++ b/js/interactive-examples.js @@ -57,6 +57,7 @@ async function main() { } const code = phpcode.querySelector("code"); + code.spellcheck = false; code.setAttribute("contentEditable", true); button.innerText = "Run code";