mirror of
https://github.com/appdev/siyuan-unlock.git
synced 2026-03-02 14:57:53 +08:00
This commit is contained in:
parent
fa1e0601af
commit
0e050b607c
@ -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…
Reference in New Issue
Block a user