WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#48456 new enhancement

Update CodeMirror to latest version

Reported by: TobiasBg Owned by:
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: External Libraries Keywords: needs-patch early
Focuses: javascript Cc:
PR Number:

Description

From what I can see in the JS file, we are using CodeMirror version 5.29.1 which is over 2 years old, according to https://codemirror.net/doc/releases.html

A lot has happened since then, with the current release being 5.49.2.

We should update and set a good example. Getting this in early for 5.4 will allow for testing.

Change History (2)

#1 @SergeyBiryukov
3 weeks ago

  • Component changed from General to External Libraries

#2 @desrosj
3 weeks ago

Thanks for this one, @TobiasBg!

Preferably, #41870 would be fixed before/at the same time as updating CodeMirror so that updating in the future is much easier.

Though that is not a steadfast blocker, if you are interested in this, I recommend looking at how to help out there first.

Note: See TracTickets for help on using tickets.