Placing the search bar at the bottom of the editor

I’m trying to use https://codemirror.net/demo/search.html but want the search bar at the bottom of the editor (as in sublime etc) rather than the top … how can this be done ? I see in the code there is some infrastructure for it but can’t figure out how to use it.

thx!

You’d have to add an option to the search addon to be able to configure it to pass a bottom: true option when it calls openDialog.