mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
872378dded
commit
5a3af99017
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ export class Files extends Model {
|
||||||
const gutterTypes = gutterType.replace(Constants.SIYUAN_DROP_GUTTER, "").split(Constants.ZWSP)
|
const gutterTypes = gutterType.replace(Constants.SIYUAN_DROP_GUTTER, "").split(Constants.ZWSP)
|
||||||
if (["nodelistitem", "nodeheading"].includes(gutterTypes[0])) {
|
if (["nodelistitem", "nodeheading"].includes(gutterTypes[0])) {
|
||||||
// 块标拖拽
|
// 块标拖拽
|
||||||
if (gutterType === "nodeheading") {
|
if (gutterTypes[0] === "nodeheading") {
|
||||||
fetchPost("/api/filetree/heading2Doc", {
|
fetchPost("/api/filetree/heading2Doc", {
|
||||||
targetNoteBook: toURL,
|
targetNoteBook: toURL,
|
||||||
srcHeadingID: gutterTypes[2].split(",")[0],
|
srcHeadingID: gutterTypes[2].split(",")[0],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue