mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🚨
This commit is contained in:
parent
56d12a2009
commit
4d908e62bd
9 changed files with 14 additions and 17 deletions
|
|
@ -232,7 +232,7 @@ export const openMenuPanel = (options: {
|
|||
}
|
||||
if (type === "assets") {
|
||||
if (isTop) {
|
||||
targetElement.before(sourceElement)
|
||||
targetElement.before(sourceElement);
|
||||
} else {
|
||||
targetElement.after(sourceElement);
|
||||
}
|
||||
|
|
@ -243,9 +243,9 @@ export const openMenuPanel = (options: {
|
|||
content: item.dataset.content,
|
||||
name: item.dataset.name,
|
||||
type: item.dataset.type as "image" | "file",
|
||||
})
|
||||
});
|
||||
}
|
||||
})
|
||||
});
|
||||
updateAssetCell({
|
||||
protyle: options.protyle,
|
||||
data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue