Using an external text editor and custom js functions?

@h_classen Thank you!
Is this the thread you are referring to?

That looks like an interesting way to write extensions, but I'm actually just looking for a simple way to write a function with an external text editor, link it to Hype, and have access to the hypeDocument scope within that function.