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/13391
Vanessa8f59465ca65c
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.tsindex 19dd3653c8..54d8a05463 100644--- a/app/src/protyle/index.ts+++ b/app/src/protyle/index.ts@@ -28,7 +28,7 @@ import {setPanelFocus} from "../layout/util";/// #endifimport {Title} from "./header/Title";import {Background} from "./header/Background";-import {onGet, setReadonlyByConfig} from "./util/onGet";+import {disabledProtyle, enableProtyle, onGet, setReadonlyByConfig} from "./util/onGet";import {reloadProtyle} from "./util/reload";import {renderBacklink} from "./wysiwyg/renderBacklink";import {setEmpty} from "../mobile/util/setEmpty";@@ -455,4 +455,12 @@ export class Protyle {public focusBlock(element: Element, toStart = true) {return focusBlock(element, undefined, toStart);}++ public disable() {+ disabledProtyle(this.protyle);+ }++ public enable() {+ enableProtyle(this.protyle);+ }}