This commit is contained in:
parent
fa1e0601af
commit
0e050b607c
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue