Vanessa 2025-12-03 20:35:16 +08:00
parent cab1545fed
commit 5223867508
2 changed files with 1 additions and 1 deletions

View file

@ -31,6 +31,7 @@
content: '';
position: absolute;
background-color: var(--b3-theme-primary-lighter);
pointer-events: none;
}
&__top::after,

View file

@ -1264,7 +1264,6 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
prevElement = prevElement.parentElement;
}
}
if (!targetElement) {
if (event.clientY > editorElement.lastElementChild.getBoundingClientRect().bottom) {
// 命中底部