This commit is contained in:
Vanessa 2022-10-25 00:23:42 +08:00
parent 031d2a4736
commit 8652f3b3a2
5 changed files with 35 additions and 40 deletions

View file

@ -155,7 +155,7 @@ const initEditorName = () => {
hideKeyboardToolbar();
});
inputElement.addEventListener("blur", () => {
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly || window.siyuan.mobileEditor.protyle.disabled) {
return;
}
if (!validateName(inputElement.value)) {