[webui] adapt to new codemirror
[webui] don't return in hooks, see

https://github.com/rails/rails/pull/13271
[webui] small adaptions to latest minispec