The CodeMirror library has a built-in "escape hatch" where pressing Escape followed by Tab will move focus out of the editor (see docs). This seems to be broken on master, but was working in REL1_45.
The escape hatch is critical for accessibility. It is also documented in the keyboard shortcuts help dialog.