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/10207
Vanessa2769fc3e03e5
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.tsindex a71595a6b7..b7a6d010d7 100644--- a/app/src/protyle/wysiwyg/remove.ts+++ b/app/src/protyle/wysiwyg/remove.ts@@ -446,7 +446,9 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran}return;}- if (editableElement.textContent !== "") {+ if (editableElement.textContent !== "" ||+ // https://github.com/siyuan-note/siyuan/issues/10207+ blockElement.classList.contains("av")) {focusBlock(previousLastElement, undefined, false);return;}