CodeMirror
DeveloperMarijn Haverbeke
Stable release
6.x / 30ย January 2026; 4 months agoย (2026-01-30)[1]
Written inJavaScript
PlatformWeb
TypeSource code editor
LicenseMIT
Websitecodemirror.net
Repositorycode.haverbeke.berlin/codemirror/dev

CodeMirror is a JavaScript component that provides a code editor in the browser. It has a rich programming API and a focus on extensibility.

History

edit

The first version of the editor was written early 2007, for the console in the Eloquent JavaScript website. The code was first packaged up and released under the name CodeMirror in May 2007. This version was based on the contentEditable feature of browsers.[2]

In late 2010, the Ace project, another JavaScript-based code editor, pioneered new implementation techniques and demonstrated that it is possible, even in JavaScript, to handle documents with many thousands of lines without degraded performance. This prompted a rewrite of CodeMirror [3] along the same principles. The result was version 2, which no longer relied on contentEditable and significantly improved performance.

Version 6 was released in 2022.[4][5] The library has been split into a collection of packages,[6][7] and core packages are released independently.[1]

See also

edit

References

edit
  1. ^ a b "CodeMirror Changelog". Retrieved 2 February 2026.
  2. ^ "Implementing a Syntax-Highlighting JavaScript Editorโ€”in JavaScript". 24 May 2007.
  3. ^ "CodeMirror 2 has entered beta". 8 February 2011.
  4. ^ Haverbeke, Marijn (8 June 2022). "CodeMirror 6.0 has been released".
  5. ^ Haverbeke, Marijn (8 June 2022). "CodeMirror 6.0".
  6. ^ "CodeMirror 5 to 6 Migration Guide". Retrieved 30 June 2023.
  7. ^ "CodeMirror System Guide". Retrieved 30 June 2023.
edit


๐Ÿ“š Artikel Terkait di Wikipedia

JSFiddle

source-code editor with programming features. As of 2020, JSFiddle uses CodeMirror to support its editable fields, providing multicursors, syntax highlighting

Windows 93

YouTube video Recorder: An audio recorder Piskel: A Pixel Art editor CodeMirror: An Integrated Development Environment HexEd: A Hex editor 3D: Creates

List of HTML editors

Eclipse Emacs Kakoune Komodo Edit Komodo IDE Neovim NetBeans TextMate Vim CodeMirror-based Brackets Light Table Mozilla Composer-based BlueGriffon SeaMonkey

Codeanywhere

device. Codeanywhere is written in JavaScript. The editor is based on CodeMirror and uses OpenVZ containers for the development environments. Codeanywhere

Logo (programming language)

various tools. It also includes a fully-featured code editor based on CodeMirror LbyM is an open-source online Logo interpreter based on JavaScript, created

TinyMCE

envato market. 10 January 2023. "Extensible Code Editor". Code Mirror. "CodeMirror plugin". EdSDK. "LICENSE". Marijn Haverbeke. "N1ED visual editor plugin"

Brackets (text editor)

Quick Docs Live Preview JSLint LESS support Open source Extensibility CodeMirror RequireJS (modules) Quick edit enables inline editing of CSS, Color Property

Index of JavaScript-related articles

BSON Cable Haunt Chakra (JavaScript engine) Chart.js Citadel/UX CKEditor CodeMirror CoffeeScript Comet (programming) CommonJS Comparison of JavaScript charting