Sometimes I need to create/edit queries while from mobile. It is impossible to do it normally in my Firefox for Android now.# Problem
It is common problem for many syntax highlight realisations I face on different sitesSometimes people need to create/edit queries on Quarry while from mobile. It is impossible to do it normally in my Firefox for Android now.
It would be nice to have solution we have in Mediawiki for .js editing and similar: a button to disable highlight. Then though not so nicely looking now, text turns enabled for normal editing.# Proposed solution
Related code:It would be nice to have solution we have in Mediawiki for .js editing and similar: a button to disable highlight. When pressed, replace the syntax-highlighted textarea with a normal textarea. When clicked again, re-enable syntax highlighting.
# Related code
The syntax highlight is done using CodeMirror at [[https://github.com/wikimedia/analytics-quarry-web/blob/master/quarry/web/static/js/query/view.js#L11|line 11 of view.js]] of the Quarry repository `analytics/quarry/web`. Please send patches to Gerrit and claim this task.