# prosemirror-gapcursor

> ProseMirror plugin for cursors at normally impossible-to-reach positions

Latest version **1.4.1** (published 2026-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install prosemirror-gapcursor
pnpm add prosemirror-gapcursor
yarn add prosemirror-gapcursor
bun add prosemirror-gapcursor
```

## Health

**Score 60/100 (C)** — status: stable.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.4.1 |
| Published | 2026-03-10 |
| First published | 2017-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 41.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 37 |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/prosemirror-gapcursor
- Repository: https://github.com/prosemirror/prosemirror-gapcursor
- Homepage: https://github.com/prosemirror/prosemirror-gapcursor#readme
- Issues: https://github.com/prosemirror/prosemirror-gapcursor/issues
- npm.io page: https://npm.io/package/prosemirror-gapcursor

## Dependencies (4)

- [prosemirror-view](https://npm.io/package/prosemirror-view.md) ^1.0.0
- [prosemirror-model](https://npm.io/package/prosemirror-model.md) ^1.0.0
- [prosemirror-state](https://npm.io/package/prosemirror-state.md) ^1.0.0
- [prosemirror-keymap](https://npm.io/package/prosemirror-keymap.md) ^1.0.0

## Recent versions

- 1.4.1 (latest) — 2026-03-10
- 1.3.0-beta.2 (beta) — 2022-05-20
- 1.4.0 — 2025-10-15
- 1.3.2 — 2023-05-17
- 1.3.1 — 2022-06-07
- 1.3.0 — 2022-05-30
- 1.3.0-beta.1 — 2022-05-20
- 1.2.2 — 2022-02-25
- 1.2.1 — 2021-12-20
- 1.2.0 — 2021-09-20
- 1.1.5 — 2020-04-05
- 1.1.4 — 2020-03-20
- 1.1.3 — 2020-01-22
- 1.1.2 — 2019-11-20
- 1.1.1 — 2019-11-19
- … 11 more at https://npm.io/package/prosemirror-gapcursor/versions

## README

# prosemirror-gapcursor

[ [**WEBSITE**](https://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror-gapcursor/blob/master/CHANGELOG.md) ]

This is a [core module](https://prosemirror.net/docs/ref/#gapcursor) of [ProseMirror](https://prosemirror.net).
ProseMirror is a well-behaved rich semantic content editor based on
contentEditable, with support for collaborative editing and custom
document schemas.

This [plugin](https://prosemirror.net/docs/ref/#gapcursor) implements a
block-level cursor that can be used to focus places that don't allow
regular selection (such as positions that have a leaf block node,
table, or the end of the document both before and after them). Make
sure you load `style/gapcursor.css` (or define your own styling for
the cursor).

The [project page](https://prosemirror.net) has more information, a
number of [examples](https://prosemirror.net/examples/) and the
[documentation](https://prosemirror.net/docs/).

This code is released under an
[MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE).
There's a [forum](http://discuss.prosemirror.net) for general
discussion and support requests, and the
[Github bug tracker](https://github.com/prosemirror/prosemirror/issues)
is the place to report issues.

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

---
_Source: https://npm.io/package/prosemirror-gapcursor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
