mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
This commit is contained in:
parent
872378dded
commit
5a3af99017
@ -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…
Reference in New Issue
Block a user