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/14144

Vanessa5e88631c1beb
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index 532248ab0e..b43e204661 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -91,7 +91,6 @@ export const getPlainText = (blockElement: HTMLElement, isNested = false) => {
text = text.slice(0, -1) + "\n";
}
});
- text += blockElement.querySelector("[spellcheck]").textContent;
} else if (!isNested && ["NodeBlockquote", "NodeList", "NodeSuperBlock", "NodeListItem"].includes(dataType)) {
blockElement.querySelectorAll("[data-node-id]").forEach((item: HTMLElement) => {
const nestedText = getPlainText(item, true);