mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
8e9cc60909
commit
b4de580895
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue