An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessad2863f096e7c
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.tsindex 81a2c8140f..2fd96d01bb 100644--- a/app/src/protyle/util/insertHTML.ts+++ b/app/src/protyle/util/insertHTML.ts@@ -235,11 +235,11 @@ const processAV = (range: Range, html: string, protyle: IProtyle, blockElement:}document.querySelector(".av__panel")?.remove();} else if (hasClosestByClassName(range.startContainer, "av__title")) {- const node = document.createTextNode(text)+ const node = document.createTextNode(text);range.insertNode(node);range.setEnd(node, text.length);range.collapse(false);- focusByRange(range)+ focusByRange(range);updateAVName(protyle, blockElement);}});diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex 745bf8c7c6..82c7565c40 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -51,7 +51,7 @@ const removeTopElement = (updateElement: Element, protyle: IProtyle) => {id: protyle.block.rootID,isPushBack: false,focusId: protyle.block.id,- })+ });}}if (doOperations.length > 0) {