sagemathinc / cocalc

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

investigate problems jupyter2 input code codemirror cells for chrome mobile #2449

Closed haraldschilly closed 3 months ago

haraldschilly commented 6 years ago

With chrome mobile browser, at least some of them, there is a problem where autocapitalization or autocorrection interferes with the code. Here is an upstream ticket:

https://github.com/codemirror/CodeMirror/issues/4011

Q: do we already set .attr('autocomplete', 'off').attr('autocorrect', 'off').attr('autocapitalize', 'off').attr('spellcheck', 'false') ... or should this be done by codemirror?

This was reported for jupyter2, but I assume this applies to all codemirror code inputs ... although, I think this is disabled by codemirror by default anyways.

haraldschilly commented 6 years ago

Another issue seems to be, that indentations after a colon insert a hidden (for me yet unknown) character. Python doesn't like it.

williamstein commented 6 years ago

This was reported for jupyter2, but I assume this applies to all codemirror code inputs ... although, I think this is disabled by codemirror by default anyways.

The codebase for cocalc-jupyter is completely independent wrt how Codemirror is configured though. I doubt those attr's are set....

williamstein commented 3 months ago

No activity, and I don't have access to any mobile chrome devices, so not going to worry about this. Also, I think the right path to support mobile (if we do) is an app (which we don't have).