Open JYC333 opened 3 months ago
Upgrade in commit ade34f9, seems work fine and no bugs coming up yet. Closed for now.
@JYC333 , please note that I did not yet update to Codemirror 6, only the latest version of 5. The reason is that apparently it's much more difficult to the update to Codemirror 6 than expected: it no longer packs IIFE/vanilla importable scripts, it has to be built in a separate step. And also the API is no longer the same, the plugins are now differently managed.
Sorry I think I missed up this one and the hard-code one #224. Thanks for pointing it out.
I'm still slowly working on #337 since quite many other things coming up and also because the newer version doesn't act as their document said. Still figuring out what's the problem there.
Will look at this after that, and if it's too difficult I think I will switch to work on changing js to ts instead.
Codemirror is recommended to upgrade from 5 to 6.