Skip to content

silverWolf818/react-contenteditable

Repository files navigation

React contenteditable

A simple component to make any element editable.

image

Usage

const [value, setValue] = useState("Hello World")

return (
    <Contenteditable value={value} onChange={(event) => {
        setValue(event.currentTarget.innerHTML)
    }}/>
)

About

a simple component to make any element editable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published