add codemirror to reports