Skip to content
This repository has been archived by the owner. It is now read-only.

ForbesLindesay/react-code-mirror

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.

react-code-mirror

Deprecated. Use https://github.com/scniro/react-codemirror2

Installation

npm install react-code-mirror

If you're not using browserify/node you can also just load the standalone.js file (having first loaded CodeMirror and React.

Usage

See example folder

It can also render server side, providing you don't require('codemirror') anywhere on the server. If you render server side it will just render the mobile view (i.e. a textarea) that will get upgraded to the full CodeMirror editor on the client.

License

MIT

About

CodeMirror component for Facebook React

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published