pub fn default_key_handler(
editor: RwSignal<Editor>,
) -> impl Fn(KeypressKey) + 'staticExpand description
Returns a key handler closure that dispatches against the default keymap.
This is used internally by text_editor
to provide standard editing keybindings. If you need the default keymap with
additional custom shortcuts, use KeypressMap::handle_keypress directly
instead.