From 4999feb0219de10249ea7cbfea0c87740d595b0d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 20 Apr 2026 22:24:11 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/17555 --- app/src/protyle/util/onGet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts index 31d053e22..36e439396 100644 --- a/app/src/protyle/util/onGet.ts +++ b/app/src/protyle/util/onGet.ts @@ -252,7 +252,7 @@ const setHTML = (options: { protyle.breadcrumb.element.nextElementSibling.textContent = ""; } if (protyle.element.hasAttribute("disabled-forever")) { - if (protyle.wysiwyg.element.getAttribute("custom-sy-readonly") === "false") { + if (protyle.wysiwyg.element.getAttribute("custom-sy-readonly") !== "true") { protyle.disabled = false; } protyle.element.removeAttribute("disabled-forever");