Skip to content

Commit e21fd33

Browse files
authored
Merge pull request #316 from FormidableLabs/jp-disable-spellcheck
add spellCheck=false to stop Editor underlining code
2 parents bfd0cdd + a72a7c0 commit e21fd33

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)