a browser editor based on codemirror