From a72a7c0d35d1995d694614bc05edca211e89b08a Mon Sep 17 00:00:00 2001 From: JP Date: Fri, 8 Apr 2022 17:34:47 -0700 Subject: [PATCH] add spellCheck=false to stop Editor underlining code --- src/components/Editor/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Editor/index.js b/src/components/Editor/index.js index 0dfb539d..be27859f 100644 --- a/src/components/Editor/index.js +++ b/src/components/Editor/index.js @@ -52,6 +52,7 @@ const CodeEditor = (props) => { ...(!props.className || !props.theme ? {} : _style), }} ref={editorRef} + spellCheck="false" > {tokens.map((line, lineIndex) => ( // eslint-disable-next-line react/jsx-key