# react-contenteditable
**Repository Path**: trusted-list/react-contenteditable
## Basic Information
- **Project Name**: react-contenteditable
- **Description**: React component for a div with editable contents
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: http://npmjs.com/package/react-contenteditable
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-09-08
- **Last Updated**: 2026-09-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
react-contenteditable
=====================
React component for a div with editable contents
[](https://travis-ci.org/lovasoa/react-contenteditable)
[](https://www.npmjs.com/package/react-contenteditable)
[](https://www.npmjs.com/package/react-contenteditable)
[](https://github.com/lovasoa/react-contenteditable/blob/master/LICENSE)
## Install
```sh
npm install react-contenteditable
```
## Usage
```javascript
import React from 'react'
import ContentEditable from 'react-contenteditable'
class MyComponent extends React.Component {
constructor() {
super()
this.contentEditable = React.createRef();
this.state = {html: "Hello World"};
};
handleChange = evt => {
this.setState({html: evt.target.value});
};
render = () => {
return