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/9156
Vanessa3b87b856394b
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex b5704c8886..6bb7e5f521 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -560,7 +560,7 @@ export class Toolbar {hasSameTextStyle(item, nextElement, textObj)) {nextIndex = item.textContent.length;nextElement.innerHTML = item.innerHTML + nextElement.innerHTML;- } else if (item.tagName !== "BR") {+ } else if (item.tagName !== "BR" && item.tagName !== "IMG") {if (item.getAttribute("data-type")?.indexOf("backslash") > -1 &&item.firstChild?.textContent === "\\") {item.firstChild.remove();