An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: fix https://github.com/siyuan-note/siyuan/issues/2648
Vanessa5e6efbce4f4b
diff --git a/app/src/config/editor.ts b/app/src/config/editor.tsindex 250fdc3f96..8f63619452 100644--- a/app/src/config/editor.ts+++ b/app/src/config/editor.ts@@ -24,7 +24,8 @@ export const editor = {fetchPost("/api/setting/setEditor", window.siyuan.config.editor, () => {const allModels = getAllModels()allModels.editor.forEach(editor => {- if (readOnly) { disabledProtyle(editor.editor.protyle);+ if (readOnly) {+ disabledProtyle(editor.editor.protyle);} else {enableProtyle(editor.editor.protyle);}@@ -38,6 +39,13 @@ export const editor = {}})});+ allModels.search.forEach(search => {+ if (readOnly) {+ disabledProtyle(search.protyle.protyle);+ } else {+ enableProtyle(search.protyle.protyle);+ }+ });window.siyuan.blockPanels.forEach(item => {item.editors.forEach(editor => {if (readOnly) {