mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
ribbon widgets titles show associated keyboard shortcuts
This commit is contained in:
@@ -50,6 +50,10 @@ export default class BasicPropertiesWidget extends NoteContextAwareWidget {
|
||||
return "basicProperties";
|
||||
}
|
||||
|
||||
get toggleCommand() {
|
||||
return "toggleRibbonBasicProperties";
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return this.note && (this.note.type === 'text' || this.note.type === 'code');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user