Skip to content

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

:art: https://github.com/siyuan-note/siyuan/pull/16340

Vanessab4de58089554
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts
index c6bae428ef..a60afc39fd 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") || "--b3-av-kanban-content-bg: var(--b3-theme-background);");
+ cloneGalleryElement.setAttribute("style", item.parentElement.parentElement.parentElement.getAttribute("style"));
cloneGalleryElement.innerHTML = '<div class="av__gallery"></div>';
ghostElement.firstElementChild.appendChild(cloneGalleryElement);
} else {