@remirror/extension-history
v3.0.1
Published
Add undo and redo history to your editor.
Downloads
151,557
Readme
@remirror/extension-history
Add undo and redo history to your editor.
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.