Skip to Content
FeaturesUndo / Redo

Undo / Redo

Usage

import { availablePlugins } from "@inkstream/starter-kit" <RichTextEditor plugins={[availablePlugins.history]} toolbarLayout={['undo', 'redo']} />

Or use the combined historyPlugin which registers both at once:

import { historyPlugin } from '@inkstream/editor-core' <RichTextEditor plugins={[historyPlugin]} toolbarLayout={['undo', 'redo']} />

Keyboard shortcuts

ActionShortcut
UndoMod-z
RedoMod-Shift-z or Mod-y