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/11209 2
Vanessa1b3a9c903b87
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.tsindex fb7ad9be4d..f44a2a5886 100644--- a/app/src/protyle/wysiwyg/remove.ts+++ b/app/src/protyle/wysiwyg/remove.ts@@ -417,6 +417,11 @@ export const removeImage = (imgSelectElement: Element, nodeElement: HTMLElement,imgSelectElement.remove();updateTransaction(protyle, nodeElement.getAttribute("data-node-id"), nodeElement.outerHTML, oldHTML);focusByWbr(nodeElement, range);+ // 不太难清楚为什么删除图片后无法上下键定位,但重绘后就好了 https://ld246.com/article/1714314625702+ const editElement = getContenteditableElement(nodeElement);+ if (editElement.innerHTML.trim() === "") {+ editElement.innerHTML = "";+ }};const removeLi = (protyle: IProtyle, blockElement: Element, range: Range, isDelete = false) => {