From 3edc9e3ceaa3826d570a1cb77ec5568a8e900d42 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 16 Nov 2025 11:16:51 +0800 Subject: [PATCH] :art: drag kanban --- 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 437d7ff21..56269d4b0 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 = "
"; ghostElement.firstElementChild.appendChild(cloneGalleryElement); } else {