wealthy-text-editor
v0.1.4
Published
A Rich text editor
Downloads
4
Maintainers
Keywords
Readme
// src/App.js
import WealthyEditor from 'wealthy-text-editor'
const handleImageUpload = async file => {
const imgUrl = await uploadToMyServer(file)
return imgUrl
}
export default props => (
<WealthyEditor
onImageUpload={handleImageUpload}
counter
onChange={console.log}
initialText={text}
/>
)