Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CloseModalHotkeyPlugin

Core export:

import { CloseModalHotkeyPlugin } from "@artisansdk/workbench"

Behavior:

  • registers a hotkey that calls workbench.closeModal()
  • defaults to Escape
  • can be disabled by passing hotkey: null
workbench.use(new CloseModalHotkeyPlugin())