Skip to content

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

:rotating_light:

Vanessaa3c4f6342639
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index 8799df5f8f..bc8e691d47 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -178,7 +178,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
wbrElement.remove();
range.deleteContents();
const tempElement = document.createElement("span");
- tempElement.setAttribute("data-type", "code")
+ tempElement.setAttribute("data-type", "code");
tempElement.textContent = Constants.ZWSP + code;
range.insertNode(tempElement);
if (!hasPreviousSibling(tempElement)) {