库 编辑器 - 通用 https://github.com/Microsoft/monaco-editor 类似vscode的在web的实现。支持diff。 https://codemirror.net/ codemirror,代码编辑器库,支持diff。