mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 18:40:12 +01:00
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
Add a link
Reference in a new issue