mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
This commit is contained in:
parent
e0adb2f60c
commit
4fe420a242
1 changed files with 3 additions and 0 deletions
|
|
@ -273,6 +273,9 @@ export class Outline extends Model {
|
|||
ghostElement.remove();
|
||||
item.style.opacity = "";
|
||||
|
||||
if (!selectItem) {
|
||||
selectItem = this.element.querySelector(".dragover__top, .dragover__bottom, .dragover");
|
||||
}
|
||||
if (selectItem) {
|
||||
getAllModels().editor.find(editItem => {
|
||||
if (editItem.editor.protyle.block.rootID === this.blockId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue