Ripped the Codemirror stuff from Ghost CMS