Skip to content

Commit

Permalink
add spellCheck=false to stop Editor underlining code
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdriver committed Apr 9, 2022
1 parent bfd0cdd commit a72a7c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a72a7c0

Please sign in to comment.