Skip to content

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

:rotating_light:

Vanessa60d44fec3dd9
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts
index 4e6679da8b..af0dd400db 100644
--- a/app/src/protyle/util/editorCommonEvent.ts
+++ b/app/src/protyle/util/editorCommonEvent.ts
@@ -851,7 +851,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
const blockElement = hasClosestBlock(target);
if (blockElement) {
const ghostElement = document.createElement("div");
- ghostElement.className = 'protyle-wysiwyg protyle-wysiwyg--attr';
+ ghostElement.className = "protyle-wysiwyg protyle-wysiwyg--attr";
ghostElement.append(processClonePHElement(target.cloneNode(true) as Element));
ghostElement.setAttribute("style", `position:fixed;opacity:.1;padding:0;
width:${target.clientWidth}px;;height:${target.clientHeight}px;`);