# @atlaskit/editor-plugin-editor-viewmode

> Editor viewmode plugin for @atlaskit/editor-core

Latest version **30.0.0** (published 2026-10-16) · Apache-2.0 license · 0 weekly downloads

## Install

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

## 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 | 30.0.0 |
| Published | 2026-10-16 |
| First published | 2024-01-22 |
| 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 |

## Links

- npm: https://www.npmjs.com/package/@atlaskit/editor-plugin-editor-viewmode
- 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-plugin-editor-viewmode

## Recent versions

- 30.0.0 (latest) — 2026-10-16
- 29.0.0 — 2026-10-13
- 28.0.0 — 2026-10-08
- 27.0.0 — 2026-10-07
- 26.0.0 — 2026-10-02
- 25.0.0 — 2026-10-01
- 24.0.0 — 2026-09-25
- 23.0.0 — 2026-09-24
- 22.0.0 — 2026-09-23
- 21.0.0 — 2026-09-17
- 20.0.0 — 2026-09-11
- 19.0.0 — 2026-09-07
- 18.0.0 — 2026-08-24
- 17.0.0 — 2026-08-13
- 16.0.1 — 2026-08-07
- … 159 more at https://npm.io/package/@atlaskit/editor-plugin-editor-viewmode/versions

## README

# Editor Plugin Editor Viewmode

View Mode 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 Editor Viewmode plugin enables switching between edit and view modes in the Atlassian Editor. It provides state management and commands for controlling the editor's editability based on the current mode, integrating seamlessly with `@atlaskit/editor-core` via the `ComposableEditor` and `EditorPresetBuilder`.

## Key features

- **Mode management** - Switch between edit and view modes
- **State tracking** - Maintain and access current editor mode state via shared state
- **Command integration** - Update view mode through editor commands
- **ProseMirror integration** - Seamless integration with ProseMirror plugin system
- **Configuration options** - Set initial mode on plugin initialization

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

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

@atlaskit/editor-plugin-editor-viewmode 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 ViewMode Plugin](https://atlaskit.atlassian.com/packages/editor/editor-plugin-editor-viewmode) 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-editor-viewmode · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
