Skip to content

Build your personal knowledge base with Trilium Notes

feat(popup_editor): add editable note title and icon

Elian Dorancb5a7714901a
diff --git a/apps/client/src/layouts/desktop_layout.ts b/apps/client/src/layouts/desktop_layout.ts
index e522e6f198..4693d76aa9 100644
--- a/apps/client/src/layouts/desktop_layout.ts
+++ b/apps/client/src/layouts/desktop_layout.ts
@@ -260,6 +260,14 @@ export default class DesktopLayout {
.child(new PasswordNoteSetDialog())
.child(new UploadAttachmentsDialog())
.child(new PopupEditorDialog()
+ .child(new FlexContainer("row")
+ .class("title-row")
+ .css("height", "50px")
+ .css("min-height", "50px")
+ .css("align-items", "center")
+ .cssBlock(".title-row > * { margin: 5px; }")
+ .child(new NoteIconWidget())
+ .child(new NoteTitleWidget()))
.child(new NoteDetailWidget()));
applyModals(rootContainer);