basic codemirror integration