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 HTML block pasting https://github.com/siyuan-note/siyuan/issues/12994
Danielc70a46d94054
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex 9b48290212..689a594106 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -401,7 +401,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEveninsertHTML(tempInnerHTML, protyle, isBlock);}} else {- if (tempInnerHTML.indexOf("NodeHTMLBlock")) {+ if (-1 < tempInnerHTML.indexOf("NodeHTMLBlock")) {// 复制 HTML 块粘贴出来的不是 HTML 块 https://github.com/siyuan-note/siyuan/issues/12994tempInnerHTML = Lute.UnEscapeHTMLStr(tempInnerHTML);}