Is there a rich-text editor out there that has CodePen embedding built into it?

I’m thinking about building a website that is made out of leaf’s that are potentially interpreted strings. It’s basically codepen, except without being just a site for coding. The idea is to have a single, central location to post, well, string.

Just imagine: you post a codepen on there that is a whole website. Or, you simply post a message. You get the idea.

I figure codepen is exactly what I want to use to do this, inside of an rte (or somesuch). Is there anything out there that already does this? Am I overlooking anything?

All insight is greatly appreciated. 😀