fix up codemirror-ui component