This commit is contained in:
Vanessa 2023-12-13 17:21:24 +08:00
parent 461f0bb347
commit 290f39aed4
4 changed files with 17 additions and 15 deletions

View file

@ -931,7 +931,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
srcIDs: sourceIds,
avID,
}]);
insertAttrViewBlockAnimation(blockElement, sourceIds.length, previousID);
insertAttrViewBlockAnimation(blockElement, sourceIds, previousID);
}
}
} else if (sourceElements.length > 0) {
@ -990,7 +990,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
srcIDs: ids,
avID,
}]);
insertAttrViewBlockAnimation(blockElement, ids.length, previousID);
insertAttrViewBlockAnimation(blockElement, ids, previousID);
}
} else {
for (let i = 0; i < ids.length; i++) {