expose codemirror