Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(in-app-help): add icons for text notes
Elian Doran62dc11f9b823
diff --git a/src/services/in_app_help.ts b/src/services/in_app_help.tsindex 803fb57dd6..6e8aefb61f 100644--- a/src/services/in_app_help.ts+++ b/src/services/in_app_help.ts@@ -40,6 +40,13 @@ function parseNoteMeta(noteMeta: NoteMeta, docNameRoot: string): HiddenSubtreeItattributes: []};+ // Handle attributes+ for (const attribute of noteMeta.attributes ?? []) {+ if (attribute.name === "iconClass") {+ item.attributes?.push(attribute);+ }+ }+// Handle text notesif (noteMeta.type === "text" && noteMeta.dataFileName) {const docPath = `${docNameRoot}/${path.basename(noteMeta.dataFileName, ".html")}`