fn

defaultKeymap

The standard writekit 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(writekit: Writekit): Keymap{ ... }

Parameters

ParameterTypeDescription
writekitWritekit

Returns

Keymap