Change editor based on device

How would go about getting TiddlyWiki to automatically use a different editor based on whether I’m on my computer or on mobile?

I’d like to use the codemirror editor whenever I’m on a computer, but unfortunately codemirror 5 doesn’t play well with android.

Is there a way to detect if I’m on Android and use the basic editor if that’s the case?

See this discussion

Awesome, that’s definitely something I can work with. Thanks for finding it.