I am not an expert in using codemirror. I have used codemirror before and have it installed in my wikis. But this looks way better than the previous version of codemirror and is easy to use. I like the highlighting of similar word on text selection. Search and replace was working in my testing.
Will definitely report any bugs I encounter here.
When will this plug in be added to the official TW plug ins replacing the old codemirror 5 version
@Flibbles
The size of CodeMirror 6 is ~1.38MB. Does Uglify support compressing this plugin?
I gave a try! and it seems to work! but like to have your answer!
codemirror.js is already a compressed file. It is too big and it feels unlikely to enter the official plugin (but if the experience is good enough, I can completely ignore its size problem)
I dunno. If it seems to work, it probably works? Never heard of the CodeMirror plugin before.
Uglify tries to be conservative when it comes to compressing and not break stuff, but thanks to “\define”, it’ll never be the case that it can do so flawlessly. But since it only effects the plugin, it’s easy to roll back if it messes up somehow.