This commit is contained in:
Vanessa
2022-10-25 00:26:57 +08:00
parent fa1e0601af
commit 0e050b607c

View File

@@ -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({