New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

draft-js-link-detection-plugin

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draft-js-link-detection-plugin

draft-js-link-detection-plugin

0.0.4
latest
Version published
Weekly downloads
1.5K
-32.35%
Maintainers
1
Weekly downloads
 
Created

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}
/>

FAQs

Package last updated on 12 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts