This commit is contained in:
Vanessa 2023-02-23 13:26:34 +08:00
parent c538c0a9e3
commit 52e1cc7957
7 changed files with 12 additions and 12 deletions

View file

@ -430,7 +430,7 @@ export class Files extends Model {
}
}
if (gutterType && newElement.classList.contains("dragover")) {
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 (gutterTypes[0] === "nodeheading") {