fn
defaultKeymap
The standard editor keymap. Mark/heading shortcuts are no-ops when the mark or block type isn't registered. Enter/Backspace/Delete are no-ops except at block boundaries, so ordinary intra-block editing stays native. Arrow navigation and cross-block selection are fully native (one contenteditable spans the doc).
Signature
ts
export function defaultKeymap(editor: Editor): Keymap{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
editor | Editor | — |
Returns
Keymap