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
fix(quick_edit): read-only notes not editable (closes #6425)
Elian Doran92fa1cf052a3
diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.tsindex 8a2427e03c..bb0b5ca34d 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<BasicWidget> {focus: false});- await this.noteContext.setNote(noteIdOrPath);+ await this.noteContext.setNote(noteIdOrPath, {+ viewScope: {+ readOnlyTemporarilyDisabled: true+ }+ });const activeEl = document.activeElement;if (activeEl && "blur" in activeEl) {