codemirror integration