Open Tula-Magar opened 2 years ago
@Tula-Magar What version are you using? Can you provide an example using https://codesandbox.io/?
@jaywcjlove I was out on the weekend. I am currently using the following:
Package.json
"@uiw/react-codemirror": "^4.9.2",
"@codemirror/lang-markdown": "^6.0.0",
"@codemirror/language-data": "^6.1.0",
I tried writing example code in the codesandbox.io but the code sandbox doesn't show any error. However, the same code shows a red underline in the const on the browser editor such as chrome and firebox. Here is the link: https://codesandbox.io/s/code-mirror-spellcheck-q1d21y?file=/src/App.js
Figured out why the spell was checking. Grammarly extension on browser was checking the spelling so, I turn off the Grammarly from the browser and I no longer get a spelling error in the code. Is there a way to disable a Grammarly or browser extension in react? If I find the solution to turn off the spelling checking then I will post it for future reference.
I didn't find a good solution, but codemirror
seems to disable spell checking.
@Tula-Magar
I don't know why but the spellCheck isn't working
`