switched to codemirror