slate-react-wysiwyg

WYSIWYG implimentation using draft js

Usage no npm install needed!

<script type="module">
  import slateReactWysiwyg from 'https://cdn.skypack.dev/slate-react-wysiwyg';
</script>

README

Slate based wysywig editor

Its a simple implimetation of slate based WYSIWYG editor from slate's example.

Installation

npm install slate-react-wysiwyg --save
yarn add slate-react-wysiwyg

Usage

Javascript

import Wysiwyg from 'slate-react-wysiwyg';
const element = <FontAwesomeIcon icon={faCoffee} />

ReactDOM.render(element, document.body)