From 60d44fec3dd9368d673dc259aecdc5b3061846de Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 30 Jun 2025 12:45:24 +0800 Subject: [PATCH] :rotating_light: --- app/src/protyle/util/editorCommonEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index 4e6679da8..af0dd400d 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;`);