mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 07:09:54 +01:00
feat(command_palette): add icons to all actions
This commit is contained in:
@@ -108,6 +108,11 @@ export interface ActionKeyboardShortcut {
|
||||
description?: string;
|
||||
defaultShortcuts?: string[];
|
||||
effectiveShortcuts?: string[];
|
||||
/**
|
||||
* An icon describing the action.
|
||||
* This is currently only used in the command palette.
|
||||
*/
|
||||
iconClass: string;
|
||||
/**
|
||||
* Scope here means on which element the keyboard shortcuts are attached - this means that for the shortcut to work,
|
||||
* the focus has to be inside the element.
|
||||
|
||||
Reference in New Issue
Block a user