Number 2 is @vez 's Polytope Editor for Javascript:
YOUTUBE 8g_XCZSY7lM Polytope Demo. let chart = ⊥; let song = ♩; // Embedding Visual Languages in Code
In this video I demo Polytope, a text editor with the ability to embed all sorts of other editors. I don't go into the prior art or philosophy behind Polytope in this video, I just show it off. I also don't show off the Polytope API, which is aiming to make it easy to create an editor with just HTML and a bit of JS.
I originally gave this talk at PX/22: page