---
title: "ProseMirror"
description: "Access the ProseMirror API and functionality with the Tiptap PM package while developing your editor. Learn more in the docs!"
canonical_url: "https://tiptap.dev/docs/editor/core-concepts/prosemirror"
---

# ProseMirror

Access the ProseMirror API and functionality with the Tiptap PM package while developing your editor. Learn more in the docs!

Tiptap is built on top of ProseMirror, which has a pretty powerful API. To access it, we provide the package `@tiptap/pm`. This package provides all important ProseMirror packages like `prosemirror-state`, `prosemirror-view` or `prosemirror-model`.

Using the package for custom development makes sure that you always have the same version of ProseMirror which is used by Tiptap as well. This way, we can make sure that Tiptap and all extensions are compatible with each other and prevent version clashes.

Another plus is that you don't need to install all ProseMirror packages manually, especially if you are not using npm or any other package manager that supports automatic peer dependency resolution.

## Install

```bash
npm i @tiptap/pm
```

After that you can access all internal ProseMirror packages like this:

```js
// this example loads the EditorState class from the ProseMirror state package
import { EditorState } from '@tiptap/pm/state'
```

## Integrate packages

The following packages are available:

- `@tiptap/pm/changeset`
- `@tiptap/pm/commands`
- `@tiptap/pm/dropcursor`
- `@tiptap/pm/gapcursor`
- `@tiptap/pm/history`
- `@tiptap/pm/inputrules`
- `@tiptap/pm/keymap`
- `@tiptap/pm/model`
- `@tiptap/pm/schema-list`
- `@tiptap/pm/state`
- `@tiptap/pm/tables`
- `@tiptap/pm/transform`
- `@tiptap/pm/view`

If you need other ProseMirror packages that are not re-exported by `@tiptap/pm` (for example `prosemirror-collab`, `prosemirror-markdown`, `prosemirror-menu`, `prosemirror-schema-basic`, or `prosemirror-trailing-node`), install them directly from npm.

You can find out more about those libraries in the [ProseMirror documentation](https://prosemirror.net/docs/ref).
