# @atlaskit/editor-plugin-show-diff

> ShowDiff plugin for @atlaskit/editor-core

Latest version **33.1.0** (published 2026-11-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @atlaskit/editor-plugin-show-diff
pnpm add @atlaskit/editor-plugin-show-diff
yarn add @atlaskit/editor-plugin-show-diff
bun add @atlaskit/editor-plugin-show-diff
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 33.1.0 |
| Published | 2026-11-19 |
| First published | 2025-07-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 23 |
| Unpacked size | 2.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Atlassian Pty Ltd |
| Maintainers | atlassianartifactteam |

## Links

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

## Dependencies (23)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [memoize-one](https://npm.io/package/memoize-one.md) ^6.0.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.0.0
- [@compiled/react](https://npm.io/package/@compiled/react.md) ^1.0.2
- [@atlaskit/avatar](https://npm.io/package/@atlaskit/avatar.md) ^31.0.0
- [@atlaskit/tokens](https://npm.io/package/@atlaskit/tokens.md) ^20.14.0
- [bind-event-listener](https://npm.io/package/bind-event-listener.md) ^3.0.0
- [@atlaskit/adf-schema](https://npm.io/package/@atlaskit/adf-schema.md) ^57.7.0
- [@atlaskit/primitives](https://npm.io/package/@atlaskit/primitives.md) ^22.8.0
- [@atlaskit/agent-color](https://npm.io/package/@atlaskit/agent-color.md) ^1.1.0
- [prosemirror-changeset](https://npm.io/package/prosemirror-changeset.md) ^2.3.1
- [@atlaskit/custom-steps](https://npm.io/package/@atlaskit/custom-steps.md) ^1.1.0
- [@atlaskit/editor-tables](https://npm.io/package/@atlaskit/editor-tables.md) ^3.2.0
- [@atlaskit/visually-hidden](https://npm.io/package/@atlaskit/visually-hidden.md) ^4.4.0
- [@atlaskit/editor-prosemirror](https://npm.io/package/@atlaskit/editor-prosemirror.md) ^9.0.0
- [@atlaskit/tmp-editor-statsig](https://npm.io/package/@atlaskit/tmp-editor-statsig.md) ^266.0.0
- [@atlaskit/editor-shared-styles](https://npm.io/package/@atlaskit/editor-shared-styles.md) ^5.2.0
- [@atlaskit/platform-feature-flags](https://npm.io/package/@atlaskit/platform-feature-flags.md) ^2.2.0
- [@atlaskit/editor-plugin-analytics](https://npm.io/package/@atlaskit/editor-plugin-analytics.md) ^33.0.0
- [@atlaskit/editor-plugin-user-intent](https://npm.io/package/@atlaskit/editor-plugin-user-intent.md) ^31.0.0
- [@atlaskit/editor-plugin-limited-mode](https://npm.io/package/@atlaskit/editor-plugin-limited-mode.md) ^30.0.0
- [@atlaskit/platform-feature-experiments](https://npm.io/package/@atlaskit/platform-feature-experiments.md) ^0.3.0
- [@atlaskit/editor-plugin-accessibility-utils](https://npm.io/package/@atlaskit/editor-plugin-accessibility-utils.md) ^33.0.0

## Recent versions

- 33.1.0 (latest) — 2026-11-19
- 33.0.3 — 2026-11-18
- 33.0.2 — 2026-11-17
- 33.0.1 — 2026-11-17
- 33.0.0 — 2026-11-17
- 32.0.0 — 2026-11-17
- 31.0.0 — 2026-11-16
- 30.0.17 — 2026-11-16
- 30.0.16 — 2026-11-13
- 30.0.15 — 2026-11-13
- 30.0.14 — 2026-11-12
- 30.0.13 — 2026-11-11
- 30.0.12 — 2026-11-09
- 30.0.11 — 2026-11-09
- 30.0.10 — 2026-11-07
- … 417 more at https://npm.io/package/@atlaskit/editor-plugin-show-diff/versions

## README

# Editor Plugin Show Diff

Show Diff plugin for @atlaskit/editor-core

**Note:** This component is designed for internal Atlassian development.
External contributors will be able to use this component but will not be able to submit issues.

## Overview

The Show Diff plugin provides visual diff visualization capabilities for the Atlassian Editor. It highlights changes made to document content by displaying additions, deletions, and modifications with configurable color schemes. The plugin integrates with ProseMirror to calculate and render diff decorations based on document steps.

## Key features

- **Visual diff highlighting** - Display changes as inline, block, and widget decorations
- **Multiple color schemes** - Support for 'standard' (purple) and 'traditional' (green/red) highlighting
- **Change navigation** - Scroll through and navigate between different changes in the document
- **Flexible configuration** - Configurable color schemes and diff parameters
- **ProseMirror integration** - Works seamlessly with ProseMirror steps and transactions

## Install
---
- **Install** - *yarn add @atlaskit/editor-plugin-show-diff*
- **npm** - [@atlaskit/editor-plugin-show-diff](https://www.npmjs.com/package/@atlaskit/editor-plugin-show-diff)
- **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-show-diff)
- **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-show-diff/dist/)

## Usage
---
**Internal use only**

@atlaskit/editor-plugin-show-diff is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.

Direct use of this component is not supported.

Please see [Atlaskit - Editor plugin show diff](https://atlaskit.atlassian.com/packages/editor/editor-plugin-show-diff) for documentation and examples for this package.

## Support
---
For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.

## License
---
Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.

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