Skip to content

History

The History extension allows you to undo and redo changes in your editor.

Usage

tsx
import { History } from 'reactjs-tiptap-editor/history'; 

const extensions = [
  ...,
  // Import Extensions Here
  History 
];

Options

shortcutKeys

Type: string[][]
Default: [['mod', 'Z'], ['shift', 'mod', 'Z']]

Keyboard shortcuts for the extension.

Source

SourceDocs

Contributors

Changelog

v0.3.28 on 10/13/2025
20125 - feat: add shortcutKeys override(s) to extensions

Made with ❤️