Vanessa
2026-04-20 22:24:11 +08:00
parent 43d6cb26a5
commit 4999feb021
+1 -1
View File
@@ -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");