# @draft-js-plugins/anchor

> Link Plugin for DraftJS

Latest version **4.2.1** (published 2023-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @draft-js-plugins/anchor
pnpm add @draft-js-plugins/anchor
yarn add @draft-js-plugins/anchor
bun add @draft-js-plugins/anchor
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.2.1 |
| Published | 2023-08-08 |
| First published | 2020-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 33.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4084 |
| Author | Jan Amann |
| Maintainers | sibelius, fxone, nikgraf, juliankrispel |
| Keywords | editor, wysiwyg, draft, react, ux, components, widget, link, react-component |

## Links

- npm: https://www.npmjs.com/package/@draft-js-plugins/anchor
- Repository: https://github.com/draft-js-plugins/draft-js-plugins
- Homepage: https://github.com/draft-js-plugins/draft-js-plugins#readme
- Issues: https://github.com/draft-js-plugins/draft-js-plugins/issues
- npm.io page: https://npm.io/package/@draft-js-plugins/anchor

## Dependencies (5)

- [clsx](https://npm.io/package/clsx.md) ^1.2.1
- [tlds](https://npm.io/package/tlds.md) ^1.239.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [prepend-http](https://npm.io/package/prepend-http.md) 3.0.1
- [@draft-js-plugins/utils](https://npm.io/package/@draft-js-plugins/utils.md) ^4.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 4.2.1 (latest) — 2023-08-08
- 4.2.0 — 2022-09-24
- 4.1.4 — 2022-04-15
- 4.1.3 — 2021-06-12
- 4.1.2 — 2021-03-01
- 4.1.1 — 2021-01-29
- 4.1.0 — 2021-01-25
- 4.0.1 — 2021-01-14
- 4.0.0 — 2021-01-10
- 4.0.0-beta2 — 2020-11-17
- 4.0.0-beta1 — 2020-11-17

## README

# Draft.js Link Plugin

_This is a plugin for the `@draft-js-plugins/editor`._

This plugin allows you to add link entities via the [inline toolbar](https://www.draft-js-plugins.com/plugin/inline-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

see https://www.draft-js-plugins.com/plugin/anchor

---
_Source: https://npm.io/package/@draft-js-plugins/anchor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
