mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
2ce3f00724
commit
89f32a43f7
1 changed files with 1 additions and 1 deletions
|
@ -1096,7 +1096,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
|
||||||
const targetGroupID = targetElement.parentElement.getAttribute("data-group-id");
|
const targetGroupID = targetElement.parentElement.getAttribute("data-group-id");
|
||||||
selectedIds.reverse().forEach(item => {
|
selectedIds.reverse().forEach(item => {
|
||||||
if (previousID !== item && undoPreviousId !== previousID) {
|
if (previousID !== item && undoPreviousId !== previousID) {
|
||||||
const groupID = blockElement.querySelector(`.av__row[data-id="${selectedIds[0]}"]`).parentElement.getAttribute("data-group-id");
|
const groupID = blockElement.querySelector(`.av__row[data-id="${item}"]`).parentElement.getAttribute("data-group-id");
|
||||||
doOperations.push({
|
doOperations.push({
|
||||||
action: "sortAttrViewRow",
|
action: "sortAttrViewRow",
|
||||||
avID,
|
avID,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue