Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable CodeMirror when on Mobile #2730
TiddlyWiki version: 5.1.13
The codemirror plugin does not work very well on mobile. Errors pop up frequently and sometimes the written content is even lost. There should be a way to automatically disable codemirror only when on mobile.
This issue is a continuation of this discussion: https://groups.google.com/forum/#!topic/tiddlywiki/Usrl0OQyESY
As noted by @Jermolene, the
maybe along the lines of
@tgrosinger - it's just a general idea to get you started, this piece of code does not match the cores' coding style (look at the use of braces and spaces - there is probably a code style guide somewhere), I have no idea if it would capture all smart phones, and if this is applicable for tablets?? So I think there is some work to do yet.
I would expect this functionality to go into the codemirror plugin as you are suggesting.