Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

slate-article-editor

finethanks58ISC0.6.11

Rich text editor powered by Slate.js and React which supports HTML editing

contenteditable, doc, docs, document, edit, editor, html, immutable, medium, paper, react, rich, rich-text, richtext, slate, text, wysiwyg, wysiwym

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