Skip to content

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

:art: drag kanban

Vanessa3edc9e3ceaa3
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts
index 437d7ff218..56269d4b07 100644
--- a/app/src/protyle/util/editorCommonEvent.ts
+++ b/app/src/protyle/util/editorCommonEvent.ts
@@ -613,7 +613,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
cloneGalleryElement = document.createElement("div");
if (isKanban) {
cloneGalleryElement.className = "av__kanban-group";
- cloneGalleryElement.setAttribute("style", item.parentElement.parentElement.parentElement.getAttribute("style"));
+ cloneGalleryElement.setAttribute("style", item.parentElement.parentElement.parentElement.getAttribute("style") || "--b3-av-kanban-content-bg: var(--b3-theme-background);");
cloneGalleryElement.innerHTML = "<div class=\"av__gallery\"></div>";
ghostElement.firstElementChild.appendChild(cloneGalleryElement);
} else {