code editing enabled with codemirror