mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
keyboard shortcuts for ribbon tabs
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user