README
Slate Article Editor
Rich text editor powered by Slate.js and React which supports HTML editing
Demonstration
npm run dev
and then open https://localhost:9000
Usage
import { ArticleEditor } from 'slate-article-editor';
<ArticleEditor
html={`<div>Greate article</div>`}
onChange={/* handle html change here */}
/>
TODO
- Add .npmignore
Bugs
- In some cases with table Chrome remove cmd+A selection