@remirror/extension-history

Add undo and redo history to your editor.

Usage no npm install needed!

<script type="module">
  import remirrorExtensionHistory from 'https://cdn.skypack.dev/@remirror/extension-history';
</script>

README

@remirror/extension-history

Add undo and redo history to your editor.

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

# yarn
yarn add @remirror/extension-history

# pnpm
pnpm add @remirror/extension-history

# npm
npm install @remirror/extension-history

This is included by default when you install the recommended remirror package. All exports are also available via the entry-point, remirror/extensions.

Usage

The following code creates an instance of this extension.

import { HistoryExtension } from 'remirror/extensions';

const extension = new HistoryExtension();

The CorePreset includes this extension so may never need to interact with it directly.