Skip to content

Commit

Permalink
🎨 fix #10528
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jul 3, 2024
1 parent 4bffce9 commit 63d5a21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/protyle/util/editorCommonEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,12 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
dragSame(protyle, sourceElements, targetElement, targetClass.includes("dragover__bottom"), event.ctrlKey);
}
}

// https://github.com/siyuan-note/siyuan/issues/10528#issuecomment-2205165824
editorElement.querySelectorAll(".protyle-wysiwyg--empty").forEach(item => {
item.classList.remove("protyle-wysiwyg--empty");
});

// 超级块内嵌入块无面包屑,需重新渲染 https://github.com/siyuan-note/siyuan/issues/7574
sourceElements.forEach(item => {
if (item.getAttribute("data-type") === "NodeBlockQueryEmbed") {
Expand Down

0 comments on commit 63d5a21

Please sign in to comment.