Vanessa 2023-04-26 11:06:50 +08:00
parent c7d2b8cde2
commit 4b3b32a306

View file

@ -244,7 +244,8 @@ const setHTML = (options: {
if (options.isSyncing) {
disabledForeverProtyle(protyle);
} else {
if (protyle.disabled) {
protyle.breadcrumb.element.nextElementSibling.textContent = "";
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {
disabledProtyle(protyle);
} else {
enableProtyle(protyle);