Two instances of codemirror in same script?

Hey guys,

I’m curious if it’s possible to have two instances of codemirror in the same script. Sort of like a sublime style editor where you can have multiple scripts visible at the same time. The follow code for me works when I just have one instance, but when I the second one, they both stop working.

** Update, solved the issue. I was referencing them incorrectly.