Détail du package

@remirror/extension-history

remirror209.5kMIT3.0.1

Add undo and redo history to your editor.

remirror, extension

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.