CodeMirror is a versatile text editor implemented in JavaScript for the browser. CodeMirror是一套在浏览器中用JavaScript实现的多功能的文本编辑器。It is specialized for editing code, and comes with a number of language modes and addons that implement more advanced editing functionality.它专用于编辑代码,配带了一些语言模式和实验高级编辑功能的附件

A rich programming API and a CSS theming system are available for customizing CodeMirror to fit your application, and extending it with new functionality.可用一套丰富的编程API和一些CSS主题系统,来自定义CodeMirror适应你的应用程序,并利用新功能来扩展它。

This is CodeMirror下面是CodeMirror

Get the current version: 5.42.2.下载当前版本:5.42.2
You can see the code,你可以在此查看代码
read the release notes,阅读发布备忘录
or study the user manual.或者学习用户手册
Software needs maintenance,软件需要维护,
maintainers need to subsist.维护者需要生存,
You can help per month or once.你可以每月赞助一次
或者现在赞助一次

Features功能

相关资料

Community社群

CodeMirror is an open-source project shared under an MIT license. CodeMirror是一套开源项目,在MIT license下面共享。It is the editor used in the dev tools for Firefox, Chrome, and Safari, in Light Table, Adobe Brackets, Bitbucket, and many other projects.它一套编辑器,用于FirefoxChromeSafari中的开发工具, 用在Light TableAdobe BracketsBitbucket很多其它项目中。

Development and bug tracking happens on github (alternate git repository). Please read these pointers before submitting a bug. Use pull requests to submit patches. All contributions must be released under the same MIT license that CodeMirror uses.

Discussion around the project is done on a discussion forum. Announcements related to the project, such as new versions, are posted in the forum's "announce" category. If needed, you can contact the maintainer directly. We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.

A list of CodeMirror-related software that is not part of the main distribution is maintained on our wiki. Feel free to add your project.

Browser support浏览器支持

The desktop versions of the following browsers, in standards mode (HTML5 <!doctype html> recommended) are supported:以下浏览器的桌面版本,在标准模式中(建议使用HTML5<!doctype html>)支持它:

Firefoxversion 4 and up
Chromeany version
Safariversion 5.2 and up
Internet Explorer/Edgeversion 8 and up
Operaversion 9 and up

Support for modern mobile browsers is experimental. 对现代移动浏览器的支持是试验性的。Recent versions of the iOS browser and Chrome on Android should work pretty well.iOS浏览器的最新版本,以及安卓上的Chrome浏览器上它应该能工作得很好。