mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
8b8859bc54
commit
1bb123b74a
15 changed files with 41 additions and 31 deletions
|
|
@ -654,7 +654,8 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else if (window.siyuan.dragElement && window.siyuan.dragElement.getAttribute("data-type") === "navigation-file" && targetElement) {
|
||||
} else if (window.siyuan.dragElement && window.siyuan.dragElement.getAttribute("data-type") === "navigation-file"
|
||||
&& targetElement && !protyle.options.backlinkData) {
|
||||
// 文件树拖拽
|
||||
fetchPost("/api/filetree/doc2Heading", {
|
||||
srcID: window.siyuan.dragElement.getAttribute("data-node-id"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue