react-codemirror2 icon indicating copy to clipboard operation
react-codemirror2 copied to clipboard

For future viewers: you may want to try codemirror.next (codemirror 6)

Open sachinraja opened this issue 4 years ago • 5 comments

This package seems dead and pull requests to update dependencies are not being accepted. I've found a better solution in codemirror.next. It's fully typed, tree-shakable, in-development, and is framework-agnostic. It may be missing some features from version 5 though.

sachinraja avatar Apr 30 '21 02:04 sachinraja

No direct React support though, I assume?

yiliansource avatar May 23 '21 18:05 yiliansource

No direct support, but it's not difficult to add. Check out my js and ts examples here.

sachinraja avatar May 23 '21 19:05 sachinraja

I see, that really doesn't look too bad. Could still be made into a seperate package though, for convenience at least!

yiliansource avatar May 23 '21 22:05 yiliansource

Update: I've created a thin wrapper at sachinraja/rodemirror.

sachinraja avatar Jul 19 '21 15:07 sachinraja

https://github.com/uiwjs/react-codemirror

jaywcjlove avatar Sep 07 '21 11:09 jaywcjlove