mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
This commit is contained in:
parent
3d290eac2b
commit
eacf25983e
1 changed files with 3 additions and 1 deletions
|
|
@ -626,7 +626,9 @@ export class WYSIWYG {
|
|||
hasJump = true;
|
||||
}
|
||||
}
|
||||
endLastElement = selectElements[selectElements.length - 1]
|
||||
if (moveEvent.clientY <= y && !endLastElement) {
|
||||
endLastElement = selectElements[selectElements.length - 1]
|
||||
}
|
||||
if (selectElements.length === 1 && !selectElements[0].classList.contains("list") && !selectElements[0].classList.contains("bq") && !selectElements[0].classList.contains("sb")) {
|
||||
// 只有一个 p 时不选中
|
||||
protyle.selectElement.style.backgroundColor = "transparent";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue