I'm starting to use CodeMirror 6 (aka. next for the time being) in a React project.
In the past, I've used React CodeMirror 2 as a wrapper. Is there anything similar available for the upcoming version of CodeMirror?
I'm starting to use CodeMirror 6 (aka. next for the time being) in a React project.
In the past, I've used React CodeMirror 2 as a wrapper. Is there anything similar available for the upcoming version of CodeMirror?
There are few links I know for using Codemirror 6 in react -
https://codesandbox.io/s/react-codemirror-next-yrtcf?file=/src/useCodeMirror.tsx
https://github.com/uiwjs/react-codemirror
https://discuss.codemirror.net/t/suggestions-for-using-with-react-workflow/2746
Also a quick and small example to get started -
Hope this helps.