@mocanvas/mocanvas · function
declare function actionKeyMap(actions: TLUiActionsContextType, isReadonly: boolean): Map<string, string>{ normalized binding: actionId } for every action that declares one.
Bindings already owned by KEYBOARD_SHORTCUTS are skipped rather than overridden: those carry behaviour an action item does not (undo coalescing, clipboard fallbacks), and firing both would run the same operation twice.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.