fix(quick_edit): read-only notes not editable (closes #6425)

This commit is contained in:
Elian Doran 2025-07-22 17:30:03 +03:00
parent 17c6eb1680
commit 92fa1cf052
No known key found for this signature in database

View File

@ -106,7 +106,11 @@ export default class PopupEditorDialog extends Container<BasicWidget> {
focus: false focus: false
}); });
await this.noteContext.setNote(noteIdOrPath); await this.noteContext.setNote(noteIdOrPath, {
viewScope: {
readOnlyTemporarilyDisabled: true
}
});
const activeEl = document.activeElement; const activeEl = document.activeElement;
if (activeEl && "blur" in activeEl) { if (activeEl && "blur" in activeEl) {