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";