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(popup_editor): display promoted attributes
Elian Doran59ce2072c5c2
diff --git a/apps/client/src/layouts/desktop_layout.ts b/apps/client/src/layouts/desktop_layout.tsindex 15420b260c..61b3ac8e8d 100644--- a/apps/client/src/layouts/desktop_layout.ts+++ b/apps/client/src/layouts/desktop_layout.ts@@ -267,6 +267,7 @@ export default class DesktopLayout {.child(new NoteIconWidget()).child(new NoteTitleWidget())).child(new ClassicEditorToolbar())+ .child(new PromotedAttributesWidget()).child(new NoteDetailWidget()));applyModals(rootContainer);diff --git a/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts b/apps/client/src/widgets/ribbon_widgets/promoted_attributes.tsindex a9aef77db0..523bfe9035 100644--- a/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts+++ b/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts@@ -69,11 +69,6 @@ interface AttributeResult {attributeId: string;}-/**- * This widget is quite special because it's used in the desktop ribbon, but in mobile outside of ribbon.- * This works without many issues (apart from autocomplete), but it should be kept in mind when changing things- * and testing.- */export default class PromotedAttributesWidget extends NoteContextAwareWidget {private $container!: JQuery<HTMLElement>;