From 92fa1cf052a3cb05eb8435ed1ca7094334c6d985 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 22 Jul 2025 17:30:03 +0300 Subject: [PATCH] fix(quick_edit): read-only notes not editable (closes #6425) --- apps/client/src/widgets/dialogs/popup_editor.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts index 8a2427e03..bb0b5ca34 100644 --- a/apps/client/src/widgets/dialogs/popup_editor.ts +++ b/apps/client/src/widgets/dialogs/popup_editor.ts @@ -106,7 +106,11 @@ export default class PopupEditorDialog extends Container { focus: false }); - await this.noteContext.setNote(noteIdOrPath); + await this.noteContext.setNote(noteIdOrPath, { + viewScope: { + readOnlyTemporarilyDisabled: true + } + }); const activeEl = document.activeElement; if (activeEl && "blur" in activeEl) {