mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
ribbon widgets titles show associated keyboard shortcuts
This commit is contained in:
@@ -59,6 +59,10 @@ export default class FilePropertiesWidget extends NoteContextAwareWidget {
|
||||
return "fileProperties";
|
||||
}
|
||||
|
||||
get toggleCommand() {
|
||||
return "toggleRibbonTabFileProperties";
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return this.note && this.note.type === 'file';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user