I am using Safari 5.1.7 ... hitting esc always toggles it from normal to markdown mode, but toggling back to normal is difficult ... I have to click around in the different panes a few times and keep hitting escape, and eventually one of them will work.
Is it indeed supposed to toggle back and forth with escape, pressed once, regardless of which pane your mouse is in ?