add codemirror editor