Skip to content

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

:art: drag gallery

Vanessa45f10bf62aa4
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts
index 0edfd8812f..fbc3eee7d1 100644
--- a/app/src/protyle/util/editorCommonEvent.ts
+++ b/app/src/protyle/util/editorCommonEvent.ts
@@ -859,7 +859,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
cloneItem.querySelector(".av__gallery-fields").setAttribute("style", "background-color: var(--b3-theme-background)");
ghostElement.append(cloneItem);
});
- ghostElement.setAttribute("style", "position:fixed;opacity:.1;padding:0;z-index:1;");
+ ghostElement.setAttribute("style", "position:fixed;opacity:.1;padding:0;");
document.body.append(ghostElement);
event.dataTransfer.setDragImage(ghostElement, -10, -10);
setTimeout(() => {