mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
adapt merged changes from master
This commit is contained in:
@@ -68,9 +68,7 @@ async function getRenderedContent(note) {
|
||||
$rendered = $("<em>Content of this note cannot be displayed in the book format</em>");
|
||||
}
|
||||
|
||||
if (note.cssClass) {
|
||||
$rendered.addClass(note.cssClass);
|
||||
}
|
||||
$rendered.addClass(await note.getCssClass());
|
||||
|
||||
return {
|
||||
renderedContent: $rendered,
|
||||
|
||||
Reference in New Issue
Block a user