Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/6340

Vanessa0e050b607c7c
diff --git a/app/src/editor/rename.ts b/app/src/editor/rename.ts
index 04ac463087..55e509f243 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({