search: Enable query input line wrapping on mobile (CodeMirror)
Created by: fkling
Closes #21215
This commit adds an extension to the default query input which enables
line wrapping on mobile. Note that this is not the same as multi-line
mode (which allows entering line breaks). That is controlled by
preventNewLine
and is not affected by this change.
https://user-images.githubusercontent.com/179026/178073569-6c244310-2276-412f-837d-c2343674356f.mp4
Test plan
Go into responsive design mode and reduce page width. The query input should wrap.
App preview:
Check out the client app preview documentation to learn more.