[wp-trac] [WordPress Trac] #12423: Include default code editor

WordPress Trac noreply at wordpress.org
Tue Jan 27 19:04:20 UTC 2026


#12423: Include default code editor
-------------------------------------------+----------------------------
 Reporter:  scribu                         |       Owner:  westonruter
     Type:  feature request                |      Status:  closed
 Priority:  normal                         |   Milestone:  4.9
Component:  Editor                         |     Version:  3.0
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit has-dev-note  |     Focuses:  accessibility
-------------------------------------------+----------------------------

Comment (by westonruter):

 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/12423#comment:171>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list