mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user