An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle:
Vanessa7fffcd257ea5
diff --git a/app/src/protyle/undo/index.ts b/app/src/protyle/undo/index.tsindex c01aa2aa43..e1c5c81b25 100644--- a/app/src/protyle/undo/index.ts+++ b/app/src/protyle/undo/index.ts@@ -27,7 +27,7 @@ export class Undo {// renderLocal 仅在发起窗口本地应用操作(isUndo=true),不 POST 到 kernel// (kernel 的 undo/redo 接口已执行事务并广播)。保留光标恢复/折叠/zoom/lastHTMLs 行为。- public renderLocal(protyle: IProtyle, operations: IOperation[], _isRedo: boolean) {+ public renderLocal(protyle: IProtyle, operations: IOperation[]) {hideElements(["hint", "gutter"], protyle);protyle.wysiwyg.lastHTMLs = {};for (let i = operations.length - 1; i >= 0; i--) {