# @remirror/extension-drop-cursor

> A cursor for the ages. Drag and drop content in your editor with class.

Latest version **3.0.2** (published 2025-08-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @remirror/extension-drop-cursor
pnpm add @remirror/extension-drop-cursor
yarn add @remirror/extension-drop-cursor
bun add @remirror/extension-drop-cursor
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2025-08-02 |
| First published | 2019-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 67.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3036 |
| Maintainers | ifiokjr, ocavue |
| Keywords | remirror, remirror-extension, drop cursor, placeholder, editor |

## Links

- npm: https://www.npmjs.com/package/@remirror/extension-drop-cursor
- Repository: https://github.com/remirror/remirror
- Homepage: https://github.com/remirror/remirror/tree/HEAD/packages/remirror__extension-drop-cursor
- Issues: https://github.com/remirror/remirror/issues
- npm.io page: https://npm.io/package/@remirror/extension-drop-cursor

## Dependencies (3)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.27.0
- [@remirror/core](https://npm.io/package/@remirror/core.md) 3.0.2
- [@remirror/messages](https://npm.io/package/@remirror/messages.md) 3.0.0

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 3.0.2 (latest) — 2025-08-02
- 3.0.0-beta.8 (beta) — 2024-07-22
- 0.0.0-pr2271.2 (pr2271) — 2024-07-18
- 0.0.0-pr2222.1 (pr2222) — 2023-12-12
- 0.0.0-pr2223.1 (pr2223) — 2023-12-12
- 0.0.0-pr2169.2 (pr2169) — 2023-11-06
- 0.0.0-pr2166.4 (pr2166) — 2023-10-06
- 0.0.0-pr2128.4 (pr2128) — 2023-07-26
- 0.0.0-pr2118.1 (pr2118) — 2023-07-13
- 0.0.0-pr2100.1 (pr2100) — 2023-06-28
- 0.0.0-pr1966.1 (pr1966) — 2022-12-26
- 0.0.0-pr1948.1 (pr1948) — 2022-11-25
- 0.0.0-pr1942.1 (pr1942) — 2022-11-21
- 0.0.0-pr1938.1 (pr1938) — 2022-11-15
- 0.0.0-pr1922.2 (pr1922) — 2022-10-26
- … 296 more at https://npm.io/package/@remirror/extension-drop-cursor/versions

## README

# @remirror/extension-drop-cursor

> A cursor for the ages. Drag and drop content in your editor with class.

[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)

[version]: https://flat.badgen.net/npm/v/@remirror/extension-drop-cursor
[npm]: https://npmjs.com/package/@remirror/extension-drop-cursor
[license]: https://flat.badgen.net/badge/license/MIT/purple
[size]: https://bundlephobia.com/result?p=@remirror/extension-drop-cursor
[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/extension-drop-cursor
[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label
[downloads-badge]: https://badgen.net/npm/dw/@remirror/extension-drop-cursor/red?icon=npm

## Installation

```bash
yarn add @remirror/extension-drop-cursor # yarn
pnpm add @remirror/extension-drop-cursor # pnpm
npm install @remirror/extension-drop-cursor # npm
```

This is included by default when you install the recommended `remirror` package. All exports are also available via the entry-point, `remirror/extensions`.

## Usage

The following code sample will create a limited editor and run the available commands from this extension.

```ts
import { ExtensionPriority, RemirrorManager } from 'remirror';
import { CorePreset, DropCursorExtension } from 'remirror/extensions';

// Create the codeBlock extension
const dropCursorExtension = new DropCursorExtension({ supportedLanguages: [typescript, jsx] });
const corePreset = new CorePreset();

// Create the Editor Manager with the codeBlock extension passed through.
const manager = RemirrorManager.create([dropCursorExtension, corePreset]);

// Pass the dom element to the editor. If you are using `@remirror/react` or
// other framework wrappers then this is handled for you.
const element = document.createElement('div');
document.body.append(element);

// Add the view to the editor manager.
manager.addView(element);
```

---
_Source: https://npm.io/package/@remirror/extension-drop-cursor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
