diff --git a/app/src/editor/rename.ts b/app/src/editor/rename.ts index 04ac46308..55e509f24 100644 --- a/app/src/editor/rename.ts +++ b/app/src/editor/rename.ts @@ -38,7 +38,7 @@ export const rename = (options: { type: "notebook" | "file" range?: Range, }) => { - if (window.siyuan.config.editor.readOnly) { + if (window.siyuan.config.editor.readOnly || window.siyuan.config.readonly) { return; } const dialog = new Dialog({