react-textarea-code-editor icon indicating copy to clipboard operation
react-textarea-code-editor copied to clipboard

Disabling spell check / Grammarly / LanguageTool etc.

Open louis030195 opened this issue 2 years ago • 7 comments

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

Thank you :)

louis030195 avatar Mar 12 '22 08:03 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

jaywcjlove avatar Mar 12 '22 09:03 jaywcjlove

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?

louis030195 avatar Mar 12 '22 09:03 louis030195

I'm not sure about your problem, English seems to be fine.

Use https://codesandbox.io/ to reproduce your problem?

@louis030195

jaywcjlove avatar Mar 12 '22 09:03 jaywcjlove

Will there be problems caused by environmental factors?

jaywcjlove avatar Mar 12 '22 09:03 jaywcjlove

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;
}

markmead avatar Feb 06 '23 16:02 markmead

https://stackoverflow.com/a/46777787/1334703

Isn't this a standard property and it changes from time to time?

@markmead

jaywcjlove avatar Feb 09 '23 03:02 jaywcjlove

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

jaywcjlove avatar Feb 09 '23 03:02 jaywcjlove