mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
fix(quick_edit): read-only notes not editable (closes #6425)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user