mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
ribbon widgets titles show associated keyboard shortcuts
This commit is contained in:
@@ -41,6 +41,10 @@ export default class ImagePropertiesWidget extends NoteContextAwareWidget {
|
||||
return "imageProperties";
|
||||
}
|
||||
|
||||
get toggleCommand() {
|
||||
return "toggleRibbonTabImageProperties";
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return this.note && this.note.type === 'image';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user