draft-js-image-render-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

draft-js-image-render-plugin

Installation:

npm i draft-js-image-render-plugin

Usage:

import Editor from 'draft-js-plugins-editor';
import createImageRenderPlugin from 'draft-js-image-render-plugin';
``
export const imageRenderPlugin = createImageRenderPlugin();

const plugins = [imageRenderPlugin];

<Editor
    ref={editorRef}
    plugins={plugins}
    editorState={editorState}
    onChange={handleChangeEditor}
/>

Package Sidebar

Install

npm i draft-js-image-render-plugin

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

24.3 kB

Total Files

26

Last publish

Collaborators

  • fedorovskyi