CP/M ED is more in the TECO tradition than anything else, through the DEC influence. It is oriented around characters rather than around lines as the ed family is.
And if you keep going back, TECO (like QED) can be traced back (via ports, rewrites, shared authors, etc) to the PDP 1 and Colossal Typewriter. All those histories are intertwingled back then.
Heh, I'd forgotten that EMACS started out as "editor macros" that were eventually ported from TECO's command language to MacLisp.