mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(quick_edit): read-only notes not editable (closes #6425)
This commit is contained in:
parent
17c6eb1680
commit
92fa1cf052
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user