The CodeMirror Editor
4,092 sites
Security covered
Drupal 10–11
This module integrates the CodeMirror JavaScript library into Drupal, providing a text editor for formatted content, a field widget and formatter for text fields, and a text filter for syntax highlighting. It also offers an API to enable the CodeMirror editor for any textarea.
This module integrates the CodeMirror editor library into Drupal.
At the moment it offers the following features:
- Text editor for formatted texts
- Field widget for text fields
- Field formatter for text fields
- Text filter for syntax highlighting
- API to enable CodeMirror editor for arbitrary textareas
Depends on
Dependencies of the latest stable release
- JS Cookie
- editor Drupal core
Required by
3 tracked projects depend on this one
- Library Manager 214 sites
- Snippet Manager 110 sites
- Entity Display Template (Override by UI) 7 sites
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.4 | Stable | 10–11 | Dec 8, 2025 |