TiddlyWiki5
TiddlyWiki5 copied to clipboard
[IDEA] Update to CodeMirror6
Is there any plan to update to CodeMirror6? CodeMirror is being updated to v6, which enhances the touch screen functionality. Hopefully the CodeMirror plugin for TiddlyWiki will also be adapted to the update.
CM6 is a completely different "beast". Its a rewrite from scratch. That also means that we will need to reimplement it on our side. It would be an interesting project but it will be a lot of work.
CM6 is still beta, which means, that there can be breaking changes.
The module system also is different to the existing one.
So there are a lot of changes to iron out and make it usable in "the TW way"
I think cm5 is enough for code editing, and with WYSIWYG editor, fewer people will use code mirror in the future. So maybe this issue can be closed so we can have issue -1
I'm have to say. WYSIWIG is not for me and it never will be. Eg. MS Word is wasting time, if you ever used FrameMaker in an environment, where efficient 3rd party translations are important.
I'd love to be able to use CM6 with TW. But it uses a completely new concept and a completely new parser generator dedicated to do code highlighting. The new parser is a very interesting topic on its own.
So I'd like to keep that one active.