Skip to content

Commit a72a7c0

Browse files
committed
add spellCheck=false to stop Editor underlining code
1 parent bfd0cdd commit a72a7c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Editor/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const CodeEditor = (props) => {
5252
...(!props.className || !props.theme ? {} : _style),
5353
}}
5454
ref={editorRef}
55+
spellCheck="false"
5556
>
5657
{tokens.map((line, lineIndex) => (
5758
// eslint-disable-next-line react/jsx-key

0 commit comments

Comments
 (0)