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: Improve pasting HTML https://github.com/siyuan-note/siyuan/issues/14313
Daniele8515879bfcd
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex 5de51d31a2..9925cf1cac 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -467,8 +467,8 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEvenisHTML = true;}- if (textPlain && "" !== textPlain.trim() && textHTML.startsWith("<span") && -1 < textHTML.indexOf("white-space: pre;")) {- // 豆包复制粘贴问题 https://github.com/siyuan-note/siyuan/issues/13265+ if (textPlain && "" !== textPlain.trim() && (textHTML.startsWith("<span") || textHTML.startsWith("<br"))) {+ // 豆包复制粘贴问题 https://github.com/siyuan-note/siyuan/issues/13265 https://github.com/siyuan-note/siyuan/issues/14313isHTML = false;}}