# @atlaskit/editor-prosemirror

> Package to group all prosemirror libraries in a single place

Latest version **8.0.3** (published 2026-08-07) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @atlaskit/editor-prosemirror
pnpm add @atlaskit/editor-prosemirror
yarn add @atlaskit/editor-prosemirror
bun add @atlaskit/editor-prosemirror
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 8.0.3 |
| Published | 2026-08-07 |
| First published | 2023-07-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Atlassian Pty Ltd |
| Maintainers | atlassianartifactteam, adf-schema-bot |

## Links

- npm: https://www.npmjs.com/package/@atlaskit/editor-prosemirror
- Repository: https://bitbucket.org/atlassian/atlassian-frontend-monorepo
- Homepage: https://bitbucket.org/atlassian/atlassian-frontend-monorepo#readme
- Issues: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/issues
- npm.io page: https://npm.io/package/@atlaskit/editor-prosemirror

## Recent versions

- 8.0.3 (latest) — 2026-08-07
- 8.0.2 — 2026-08-06
- 8.0.1 — 2026-08-05
- 8.0.0 — 2026-06-16
- 7.3.0 — 2026-02-03
- 7.2.3 — 2026-01-27
- 7.2.2 — 2025-12-18
- 7.2.1 — 2025-12-16
- 7.2.0 — 2025-10-08
- 7.1.3 — 2025-07-10
- 7.1.2 — 2025-06-13
- 7.1.1 — 2025-05-28
- 7.1.0 — 2025-01-22
- 7.0.0 — 2025-01-21
- 6.3.0 — 2024-12-01
- … 29 more at https://npm.io/package/@atlaskit/editor-prosemirror/versions

## README

# EditorProsemirror

Package to group all prosemirror libraries in a single place

## Usage

`import EditorProsemirror from '@atlaskit/editor-prosemirror';`

Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/editor/editor-prosemirror).

## Codemods

There are some codemods to help the migration. But, they are supposed to run only once and manual in the AFE repo.

- optimistic-editor-prosemirror-usage

This one is reponsible to replace all prosemirror libraries usage with the new package e.g.:

```js
// before

import { DecorationSet } from 'prosemirror-view';

```

```js
// after

import { DecorationSet } from '@atlaskit/editor-prosemirror/view';

```

## How to run

Run this script below

```js
npx @atlaskit/codemod-cli --parser tsx --extensions ts,tsx --transform packages/editor/editor-prosemirror/codemods/optimistic-next-editor-prosemirror-usage/ packages
```

## Troubleshooting

If you are getting this kind of error below:

```js
import { Binding, NodePath, Scope } from '@babel/traverse';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at compileFunction (<anonymous>)
    at Object.compileFunction (node:vm:360:18)
```

Remove the token babel plugin from the `babel.config.shared.js` file.

## DO NOT COMMIT THIS CHANGE

```json
// file: babel.config.shared.js

    /** This override runs the tokens babel plugin on converted packages */
    {
      test: ['packages/'],
      // exclude plugin when building itself, or the tokens package it depends on
      exclude: [
        'packages/monorepo-tooling',
        'packages/design-system/tokens',
        'packages/design-system/eslint-plugin',
        'packages/design-system/storybook-addon',
        'packages/platform/feature-flags-codemods',
      ],
      plugins: [
        // Comment out this block
        //[
        //  './packages/design-system/tokens/babel-plugin',
        //  {
        //    shouldUseAutoFallback: true,
        //  },
        //],
      ],
    },
```

## Publishing

Version bumps and publishing are managed through the changesets workflow.

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