An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/5775
Vanessad4746d67e6cc
diff --git a/app/src/editor/index.ts b/app/src/editor/index.tsindex f763b9121e..3f1518e275 100644--- a/app/src/editor/index.ts+++ b/app/src/editor/index.ts@@ -28,14 +28,14 @@ export class Editor extends Model {this.initProtyle(options);}- private initProtyle(options: {+ private initProtyle(options: {blockId: string,action?: string[]mode?: TEditorMode,scrollAttr?: IScrollAttr}) {this.editor = new Protyle(this.element, {- action: options.action,+ action: options.action || [],blockId: options.blockId,mode: options.mode,render: {diff --git a/app/src/protyle/util/Options.ts b/app/src/protyle/util/Options.tsindex 9ab6c0ae0b..c97208f8cb 100644--- a/app/src/protyle/util/Options.ts+++ b/app/src/protyle/util/Options.ts@@ -121,7 +121,7 @@ export class Options {filename: (name: string) => name.replace(/[\\/:*?"'<>|]/g, ""),linkToImgUrl: "",withCredentials: false,- },+ }};constructor(options: IOptions) {