From 621bcce3c2013db6980765c656aa714d7018b1b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 4 Dec 2024 02:31:12 +0100 Subject: [PATCH] Disable spellchecker for interactive code examples (#1176) --- 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";