mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
setup cssClass for both note tab and content, #524
This commit is contained in:
@@ -20,6 +20,8 @@ async function getNote(req) {
|
||||
}
|
||||
}
|
||||
|
||||
note.cssClass = (await note.getLabels("cssClass")).map(label => label.value).join(" ");
|
||||
|
||||
return note;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user