1.0.1 • Published 4 years ago

@bluenove/draft-js-link-plugin v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Draft.js Link Plugin

This is a plugin for the draft-js-plugins-editor.

This plugin is based on draft-js-anchor-plugin.

This plugin allows you to add link entities via the static toolbar. It also provides a decorator that formats the created entities. HTTP, HTTPS, as well as email addresses (with or without mailto: attached to it) are supported.

Usage

import createLinkPlugin from 'draft-js-link-plugin';

const linkPlugin = createLinkPlugin();