From 4fc2b0fa5efe984e7307615bbdf28921ac9013e9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 11 Jul 2025 16:52:09 +0300 Subject: [PATCH] feat(popup_editor): focus on editor automatically for easier editing --- apps/client/src/widgets/dialogs/popup_editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts index 30ffaee43..4e02613db 100644 --- a/apps/client/src/widgets/dialogs/popup_editor.ts +++ b/apps/client/src/widgets/dialogs/popup_editor.ts @@ -121,6 +121,7 @@ export default class PopupEditorDialog extends Container { await this.handleEventInChildren("activeContextChanged", { noteContext: this.noteContext }); this.setVisibility(true); + await this.handleEventInChildren("focusOnDetail", { ntxId: this.noteContext.ntxId }); }); $dialog.on("hidden.bs.modal", () => { const $typeWidgetEl = $dialog.find(".note-detail-printable");