Skip to content

Latest commit

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

react-contenteditable

React component for a div with editable contents

Usage

varContentEditable=require("react-contenteditable");varMyComponent=React.createClass({getInitialState: function(){return{html: "<b>Hello <i>World</i></b>"};},handleChange: function(evt){this.setState({html: evt.target.value});},render: function(){return<ContentEditablehtml={this.state.html}onChange={this.handleChange}/>}});

About

Fork of lovasoa/react-contenteditable with browserify transform

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages