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/8309
Vanessa67e90a065b71
diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.tsindex 7790d67842..10b3937472 100644--- a/app/src/protyle/toolbar/Font.ts+++ b/app/src/protyle/toolbar/Font.ts@@ -266,6 +266,14 @@ export const hasSameTextStyle = (currentElement: HTMLElement, sideElement: HTMLEblockRefData[2] === sideElement.textContent;}+ if (textObj.type === "file-annotation-ref") {+ if (currentElement.nodeType !== 3) {+ return currentElement.getAttribute("data-id") === sideElement.getAttribute("data-id") &&+ currentElement.textContent === sideElement.textContent;+ }+ return textObj.color === sideElement.getAttribute("data-id");+ }+let color = "";let webkitTextFillColor = "";let webkitTextStroke = "";