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/6526
Vanessa395c2e68759e
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex e632c5ffe3..c1fe00015f 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1326,13 +1326,13 @@ export class WYSIWYG {if (target.tagName === "VIDEO" || target.tagName === "AUDIO" || event.inputType === "historyRedo") {return;}- /// #if !BROWSERif (event.inputType === "historyUndo") {+ /// #if !BROWSERgetCurrentWindow().webContents.redo();+ /// #endifwindow.siyuan.menus.menu.remove();return;}- /// #endifconst range = getEditorRange(this.element);const blockElement = hasClosestBlock(range.startContainer);if (!blockElement) {