This commit is contained in:
Vanessa 2023-03-07 18:42:13 +08:00
parent b55bdb2214
commit ca98c1f086

View file

@ -596,7 +596,9 @@ export class WYSIWYG {
if (!startFirstElement) {
startFirstElement = firstElement;
}
} else if (!firstBlockElement) {
} else if (!firstBlockElement &&
// https://github.com/siyuan-note/siyuan/issues/7580
moveEvent.clientY < protyle.wysiwyg.element.lastElementChild.getBoundingClientRect().bottom) {
firstBlockElement = protyle.wysiwyg.element.firstElementChild as HTMLElement;
}
let selectElements: Element[] = [];