[wp-trac] [WordPress Trac] #48456: Update CodeMirror to latest v5 version
WordPress Trac
noreply at wordpress.org
Tue Jan 27 19:04:20 UTC 2026
#48456: Update CodeMirror to latest v5 version
-------------------------------------------+--------------------------
Reporter: TobiasBg | Owner: westonruter
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.0
Component: External Libraries | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: early has-patch needs-testing | Focuses: javascript
-------------------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"61539" 61539]:
{{{
#!CommitTicketReference repository="" revision="61539"
External Libraries: Upgrade CodeMirror to latest v5 in addition to
updating CSSLint, Esprima, HTMLHint, and JSONLint.
This installs npm packages for `codemirror`, `csslint`, `esprima`,
`htmlhint`, and `jsonlint` to replace the libraries which had been copied
into SVN. A new `grunt build:codemirror` task is responsible for building
CodeMirror as part of the build process. This finally revisits the
original CodeMirror integration which was originally developed in the
[https://github.com/WordPress/better-code-editing/ Better Code Editing]
feature plugin in 2017.
||= Package =||= Old Version =||= New Version =||
|| codemirror || 5.29.1-alpha-ee20357 || 5.65.20 ||
|| esprima || 4.0.0 || 4.0.1 ||
|| jsonlint || 1.6.2 || 1.6.3 ||
|| htmlhint || 0.9.14-xwp || 1.8.0 ||
Follow-up to [41376].
Props westonruter, jonsurrell, tobiasbg, desrosj, adamsilverstein,
WraithKenny, rafa8626, netweb.
See #12423.
Fixes #48456, #41870.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48456#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list