Skip to content

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

:art: Clean code

Daniel30f3c5e90f94
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index f54148c222..04e894664d 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -376,8 +376,8 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
return;
} else if (siyuanHTML) {
async function streamInsert(container: HTMLElement, bigHtmlString: string) {
- const iframe = document.createElement('iframe');
- iframe.style.display = 'none';
+ const iframe = document.createElement("iframe");
+ iframe.style.display = "none";
document.body.appendChild(iframe);
const doc = iframe.contentWindow.document;