Skip to content

Commit

Permalink
Merge pull request #316 from FormidableLabs/jp-disable-spellcheck
Browse files Browse the repository at this point in the history
add spellCheck=false to stop Editor underlining code
  • Loading branch information
jpdriver authored Apr 9, 2022
2 parents bfd0cdd + a72a7c0 commit e21fd33
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 e21fd33

Please sign in to comment.