mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-25 22:48:34 -06:00
support for cssClass label on note
This commit is contained in:
@@ -115,6 +115,10 @@ async function getExtraClasses(note) {
|
||||
extraClasses.push("multiple-parents");
|
||||
}
|
||||
|
||||
if (note.cssClass) {
|
||||
extraClasses.push(note.cssClass);
|
||||
}
|
||||
|
||||
extraClasses.push(note.type);
|
||||
|
||||
return extraClasses.join(" ");
|
||||
|
||||
Reference in New Issue
Block a user