Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/13763

Vanessa74354d6620a5
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index 94f1df9d22..a7c95ec747 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -411,6 +411,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
e.removeAttribute(Constants.CUSTOM_RIFF_DECKS);
e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl");
e.setAttribute("updated", newId.split("-")[0]);
+ e.querySelector(".protyle-attr--refcount")?.remove();
isBlock = true;
});
if (nodeElement.classList.contains("table")) {