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/16051
Vanessac3b30088b68f
diff --git a/app/src/protyle/wysiwyg/enter.ts b/app/src/protyle/wysiwyg/enter.tsindex fb619b325e..3f78174e2c 100644--- a/app/src/protyle/wysiwyg/enter.ts+++ b/app/src/protyle/wysiwyg/enter.ts@@ -332,7 +332,7 @@ export const enter = (blockElement: HTMLElement, range: Range, protyle: IProtylecurrentElement = item;selectsElement.push(item);});- if (currentElement.parentElement.classList.contains("bq") && currentElement.parentElement.childElementCount === 3 &&+ if (currentElement.parentElement.classList.contains("bq") && currentElement.parentElement.childElementCount > 2 &¤tElement.previousElementSibling.classList.contains("p") && currentElement.classList.contains("p") &¤tElement.previousElementSibling.textContent.startsWith("[!") && parentHTML) {const parentId = currentElement.parentElement.getAttribute("data-node-id");@@ -347,7 +347,8 @@ export const enter = (blockElement: HTMLElement, range: Range, protyle: IProtyle}}transaction(protyle, doOperation, undoOperation);- if (currentElement.parentElement.classList.contains("sb") && currentElement.parentElement.getAttribute("data-sb-layout") === "col") {+ if (currentElement.parentElement.classList.contains("sb") &&+ currentElement.parentElement.getAttribute("data-sb-layout") === "col") {turnsIntoOneTransaction({protyle,selectsElement,