CM6 support for codemirror-graphql
See original GitHub issueHey there!
I was looking to add graphql support to our app which uses CodeMirror 6 and stumbled upon the codemirror-graphql
package in this repo. However, it looks like that package only works for CodeMirror 5 and is therefore not compatible with CM6. I also couldn’t find any alternatives that do work with CM6.
I saw that there was a way to use CM5 language packages in CM6 (e.g. the modes in this repo: https://github.com/codemirror/legacy-modes/) but only if they implement the StreamParser
interface which I don’t think is the case here.
Just wondering if there were any plans to add support for CM6 in the codemirror-graphql
package. Happy to help out in this effort myself as well and open up a PR if this is something you guys want and no one else can pick it up.
Thanks in advanced!
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (13 by maintainers)
Top GitHub Comments
released! 🥳 thanks @imolorhe !
Adding support for CM6 would be great. I can try to support any efforts on this but unfortunately can’t commit to picking this up this week. I should be able to do so by next week though if it isn’t already being implemented by then.