using codemirror for new/edit