maplibre / maputnik

An open source visual editor for the 'MapLibre Style Specification'
https://www.maplibre.org/maputnik
MIT License
2.08k stars 397 forks source link

Upgrade codemirror #891

Open HarelM opened 6 months ago

HarelM commented 6 months ago

Maputnik currently uses codemirror 5, but codemirror 6 is avaiable, but they have changed the API dramatically. Some of it is explained here: https://codemirror.net/docs/migration/ But there are a lot of things that needs to be defined and updated and I'm not familiar enough with the original definitions and requirements in order to "safely" update this package. If anyone is familiar with codemirror enough to easily update the package it may be helpful.