ribbon widgets titles show associated keyboard shortcuts

This commit is contained in:
zadam
2021-07-05 09:44:41 +02:00
parent b68bdc5005
commit 9ca225b40f
13 changed files with 68 additions and 2 deletions

View File

@@ -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');
}