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 {