This package has been deprecated

Author message:

deprecated, use react-codemirror2. npmjs.com/package/react-codemirror2

react-code-mirror

3.1.0 • Public • Published

react-code-mirror

CodeMirror component for Facebook React

Dependency Status NPM version

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

Readme

Keywords

Package Sidebar

Install

npm i react-code-mirror

Weekly Downloads

28

Version

3.1.0

License

MIT

Last publish

Collaborators

  • forbeslindesay
  • scniro