keyboard shortcuts for ribbon tabs

This commit is contained in:
zadam
2021-06-27 12:53:05 +02:00
parent 9e1c9782ff
commit 0351d7eff1
17 changed files with 195 additions and 38 deletions

View File

@@ -46,6 +46,10 @@ export default class BasicPropertiesWidget extends NoteContextAwareWidget {
this.child(this.noteTypeWidget, this.protectedNoteSwitchWidget, this.editabilitySelectWidget);
}
get name() {
return "basicProperties";
}
isEnabled() {
return this.note && (this.note.type === 'text' || this.note.type === 'code');
}