# prosemirror-commands

> Editing commands for ProseMirror

Latest version **1.7.2** (published 2026-08-05) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 65/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.7.2 |
| Published | 2026-08-05 |
| First published | 2016-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 130 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/prosemirror-commands
- Repository: https://code.haverbeke.berlin/prosemirror/prosemirror-commands
- npm.io page: https://npm.io/package/prosemirror-commands

## Dependencies (3)

- [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-transform](https://npm.io/package/prosemirror-transform.md) ^1.10.2

## Recent versions

- 1.7.2 (latest) — 2026-08-05
- 1.3.0-beta.1 (beta) — 2022-05-20
- 1.7.1 — 2025-04-13
- 1.7.0 — 2025-02-20
- 1.6.2 — 2024-10-24
- 1.6.1 — 2024-10-11
- 1.6.0 — 2024-07-26
- 1.5.2 — 2023-05-17
- 1.5.1 — 2023-03-01
- 1.5.0 — 2022-12-05
- 1.4.0 — 2022-12-01
- 1.3.1 — 2022-09-08
- 1.3.0 — 2022-05-30
- 1.2.2 — 2022-03-16
- 1.2.1 — 2022-01-20
- … 39 more at https://npm.io/package/prosemirror-commands/versions

## README

# prosemirror-commands

[ [**WEBSITE**](https://prosemirror.net) | [**ISSUES**](https://code.haverbeke.berlin/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**CHANGELOG**](https://code.haverbeke.berlin/prosemirror/prosemirror-commands/src/branch/main/CHANGELOG.md) ]

This is a [core module](https://prosemirror.net/docs/ref/#commands) 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 [module](https://prosemirror.net/docs/ref/#commands) implements a
number of editing commands, which are functions that abstract editing
actions which can be bound to keys.

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://code.haverbeke.berlin/prosemirror/prosemirror/src/branch/main/LICENSE).
There's a [forum](http://discuss.prosemirror.net) for general
discussion and support requests, and the
[bug tracker](https://code.haverbeke.berlin/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-commands · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
