sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.14k stars 208 forks source link

Explicitly disable use of grammarly across CoCalc (was: Enable use of grammarly chrome extension) #4207

Closed dpotter closed 1 year ago

dpotter commented 4 years ago

I regularly use the Grammarly Chrome browser extension to check my grammar and spelling. Would it be possible to adjust the CoCalc UI text boxes to allow it to operate?

text box requirements :

Below is a screenshot of the extension working on this text when I typed it.

Screen Shot 2019-11-01 at 8 50 31 PM
haraldschilly commented 4 years ago

which parts of the CoCalc UI do you mean? e.g. Grammarly works in chat.

haraldschilly commented 4 years ago

I briefly looked into this. For CodeMirror inputs, the option inputStyle: "contenteditable" might cause it to be active, but it's not really working? I also have no idea about what implications this setting has.

williamstein commented 4 years ago
  1. I think he wants this for Jupyter notebooks.

  2. This issue seems to think it is impossible to use Codemirror + grammarly.

  3. We could implement spell check ourselves for codemirror. We have "underline misspelled words" already (we don't use it for markdown cells in jupyter but could), and could add something to show corrections...

williamstein commented 1 year ago

Actually, what we should do is somehow change all of cocalc disable use of Grammarly. That extension mysteriously and randomly crashes things all over cocalc, but there is a way using CSS (I think) to disable it site-wise. There's a lot in these issues about how to do this: https://github.com/ianstormtaylor/slate/issues?q=is%3Aissue+grammarly+is%3Aclosed

williamstein commented 1 year ago
williamstein commented 1 year ago

Relevant discussion: https://stackoverflow.com/questions/37444906/how-to-stop-extensions-add-ons-like-grammarly-on-contenteditable-editors