mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
890da1d822
commit
dfbd697ab5
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ export const openMenuPanel = (options: {
|
|||
}
|
||||
const replaceValue: IAVCellAssetValue[] = [];
|
||||
Array.from(targetElement.parentElement.children).forEach((item: HTMLElement) => {
|
||||
if (item.dataset.content) {
|
||||
if (["image", "file"].includes(item.dataset.type)) {
|
||||
replaceValue.push({
|
||||
content: item.dataset.content,
|
||||
name: item.dataset.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue