mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-24 16:04:06 +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"
|
type: "notebook" | "file"
|
||||||
range?: Range,
|
range?: Range,
|
||||||
}) => {
|
}) => {
|
||||||
if (window.siyuan.config.editor.readOnly) {
|
if (window.siyuan.config.editor.readOnly || window.siyuan.config.readonly) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const dialog = new Dialog({
|
const dialog = new Dialog({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue