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: fix https://github.com/siyuan-note/siyuan/issues/11732
Vanessa04b39e520067
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.tsindex ade0cfebab..cf21ea7eab 100644--- a/app/src/protyle/wysiwyg/remove.ts+++ b/app/src/protyle/wysiwyg/remove.ts@@ -249,6 +249,7 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ranconst previousElement = getPreviousBlock(blockElement)if (previousElement) {if (previousElement.classList.contains("p") && getContenteditableElement(previousElement).textContent === "") {+ // 空块向后删除时移除改块 https://github.com/siyuan-note/siyuan/issues/11732const ppElement = getPreviousBlock(previousElement)transaction(protyle, [{action: "delete",