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
add _meta to note, in case it got changed to type `json`
Thomas Freib14b7b6ad162
diff --git a/src/public/app/widgets/type_widgets/canvas_note.js b/src/public/app/widgets/type_widgets/canvas_note.jsindex 1f9e6c5079..18d0ebcd4f 100644--- a/src/public/app/widgets/type_widgets/canvas_note.js+++ b/src/public/app/widgets/type_widgets/canvas_note.js@@ -249,6 +249,7 @@ export default class ExcalidrawTypeWidget extends TypeWidget {})const content = {+ _meta: "This note has type `canvas-note`. It uses excalidraw to render.",elements,appState,files: activeFiles,