react-textarea-code-editor
react-textarea-code-editor copied to clipboard
Disabling spell check / Grammarly / LanguageTool etc.
Hey, thanks for the nice component, do you have any idea how to disable Grammarly, LanguageTool and such? I tried to use spellCheck={false}
without much success?
![Screenshot 2022-03-12 at 15 28 52](https://user-images.githubusercontent.com/25003283/158010423-2d5ff1dd-0f05-4116-8ec5-9226801a3b59.png)
Thank you :)
https://github.com/uiwjs/react-textarea-code-editor/blob/c6d38afe6b603859ff9fef98dcf0018b9e0e4773/src/index.tsx#L80
I have defined it. I have no other solution. @louis030195
https://github.com/uiwjs/react-textarea-code-editor/blob/c6d38afe6b603859ff9fef98dcf0018b9e0e4773/src/index.tsx#L80
I have defined it. I have no other solution. @louis030195
I still have grammarly showing up, is it supposed to disable it?
I'm not sure about your problem, English seems to be fine.
Use https://codesandbox.io/ to reproduce your problem?
@louis030195
Will there be problems caused by environmental factors?
You'd need to add dataEnableGrammarly="false"
to get rid of that.
Or you could add the following CSS somewhere in the project, or to your own projects.
textarea ~ grammarly-extension {
display: none;
}
https://stackoverflow.com/a/46777787/1334703
Isn't this a standard property and it changes from time to time?
@markmead
To disable Grammarly, you can add attributes on the
data-gramm="false"
data-gramm_editor="false"
data-enable-grammarly="false"
- https://github.com/facebookarchive/draft-js/issues/616#issuecomment-343596615