Functional full editor widget with menus

I’m hoping to find a code editor widget based on CodeMirror that allows multiple editing multiple files, rearranging tabs, and has useful menus (File, Edit, Code, etc.).

I haven’t been able to find anything.

I want to incorporate the editor into an application I’m building and don’t want to reinvent the wheel.

Thanks!