@dizsmek/draft-js-link-detection-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

draft-js-link-detection-plugin

Demo page

Installation:

npm i draft-js-link-detection-plugin

Usage:

import Editor from 'draft-js-plugins-editor';
import createLinkDetectionPlugin from 'draft-js-link-detection-plugin';

const linkDetectionPlugin = createLinkDetectionPlugin();
const plugins = [linkDetectionPlugin];

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

Package Sidebar

Install

npm i @dizsmek/draft-js-link-detection-plugin

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

17.2 kB

Total Files

15

Last publish

Collaborators

  • dizsmek