wealthy-text-editor

A Rich text editor

Usage no npm install needed!

<script type="module">
  import wealthyTextEditor from 'https://cdn.skypack.dev/wealthy-text-editor';
</script>

README

pimp-pimp-156114760187876

// 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}
  />
)