An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/11302
Vanessa11d2b0dbebd6
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.tsindex 629fa6e0c2..0225c51ed3 100644--- a/app/src/protyle/util/onGet.ts+++ b/app/src/protyle/util/onGet.ts@@ -207,7 +207,7 @@ const setHTML = (options: {}protyle.element.removeAttribute("disabled-forever");setReadonlyByConfig(protyle, updateReadonly);- if (options.action.includes(Constants.CB_GET_OPENNEW)) {+ if (options.action.includes(Constants.CB_GET_OPENNEW) && window.siyuan.config.editor.readOnly) {updateReadonlyMethod(protyle.breadcrumb.element.parentElement.querySelector('.block__icon[data-type="readonly"]'), protyle);}}