Keymap
Import from @reductoai/docx-editor, @reductoai/docx-editor/model. Extends Observable.
Keymap properties
allCommands()
bind()
cancelChord()
chain()
command()
conflicts()
when (both none counts as the same).
destroy()
enabled()
exportJson()
handle()
importJson()
exportJson. Throws on a bad file.
keysFor()
label()
list()
observes()
refusal()
register()
replace()
key alone, and any
command the key reached under the same when gives it up.
reset()
resolve()
run()
setContext()
setOverrides()
stampOf()
subscribe()
key is omitted.
title()
unbind()
createDocxKeymap()
@reductoai/docx-editor, @reductoai/docx-editor/model.
KeybindingOptions
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
Keybinding
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
KeyCommand
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
CommandInfo
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
BindingSource
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
KeybindingStore
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
UserKeybindings
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
localStorageKeybindings()
localStorage row per app; other tabs of the same origin follow a change.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
memoryKeybindings()
@reductoai/docx-editor, @reductoai/docx-editor/model.
DOCX_KEYBINDINGS
@reductoai/docx-editor, @reductoai/docx-editor/model.
PALETTE_ON_MOD_K
@reductoai/docx-editor, @reductoai/docx-editor/model.
routePalette()
palette.open toggles the host’s own palette instead of the built-in one.
Import from @reductoai/docx-editor, @reductoai/docx-editor/model.
KEYBINDINGS_STORAGE_KEY
@reductoai/docx-editor, @reductoai/docx-editor/model.