@bluenove/draft-js-link-plugin

1.0.1 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i @bluenove/draft-js-link-plugin

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

31.7 kB

Total Files

21

Last publish

Collaborators

  • aryan.yazdani
  • evarehermas
  • garymcdowell
  • matcha_l
  • smakroum