[wp-trac] [WordPress Trac] #41870: Code Editor: Add grunt task for building new CodeMirror bundles from external dependencies
WordPress Trac
noreply at wordpress.org
Tue Jan 27 19:04:20 UTC 2026
#41870: Code Editor: Add grunt task for building new CodeMirror bundles from
external dependencies
-------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 7.0
Component: Build/Test Tools | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: 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/41870#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list