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/12673
Vanessa88f29a75197a
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 29fd85509b..7ee1d5312a 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1775,7 +1775,7 @@ export class WYSIWYG {protyle.toolbar.range = getEditorRange(protyle.element);if (target.tagName === "SPAN" && !isNotEditBlock(nodeElement)) { // https://ld246.com/article/1665141518103- let types = protyle.toolbar.getCurrentType(protyle.toolbar.range);+ let types = target.getAttribute("data-type")?.split(" ");if (types.length === 0) {// https://github.com/siyuan-note/siyuan/issues/8960types = (target.dataset.type || "").split(" ");