Codemirror, edit