An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/14889
Vanessa871baab5a3ce
diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.tsindex 4f0da9bc9c..c5629da9f3 100644--- a/app/src/protyle/wysiwyg/input.ts+++ b/app/src/protyle/wysiwyg/input.ts@@ -102,8 +102,11 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:brElement.remove();}- if (type !== "NodeHeading" &&- (editElement.innerHTML.startsWith("》<wbr>") || editElement.innerHTML.indexOf("\n》<wbr>") > -1)) {+ if (type !== "NodeHeading" && (+ editElement.innerHTML.startsWith("》<wbr>") ||+ editElement.innerHTML.startsWith(Constants.ZWSP + "》<wbr>") ||+ editElement.innerHTML.indexOf("\n》<wbr>") > -1+ )) {editElement.innerHTML = editElement.innerHTML.replace("》<wbr>", "><wbr>");}const trimStartText = editElement.innerHTML.trimStart();