Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/15303

Vanessaf61a0d6f85bc
diff --git a/app/src/types/protyle.d.ts b/app/src/types/protyle.d.ts
index 333f438ee0..3b6b45376e 100644
--- a/app/src/types/protyle.d.ts
+++ b/app/src/types/protyle.d.ts
@@ -482,6 +482,7 @@ interface IProtyleOptions {
/** 点击末尾是否阻止插入新块 */
preventInsetEmptyBlock?: boolean
}
+
/** 编辑器异步渲染完成后的回调方法 */
after?(protyle: import("../protyle").Protyle): void;
}