This commit is contained in:
Vanessa 2022-11-03 00:09:44 +08:00
parent d7f6456424
commit abc87f9500
4 changed files with 183 additions and 78 deletions

View file

@ -259,6 +259,8 @@ export class Files extends Model {
this.getLeaf(target, notebookId);
this.setCurrent(target, false);
}
this.element.querySelector('[select-end="true"]')?.removeAttribute("select-end");
this.element.querySelector('[select-start="true"]')?.removeAttribute("select-start");
window.siyuan.menus.menu.remove();
event.stopPropagation();
event.preventDefault();