mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +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[] = [];
|
const replaceValue: IAVCellAssetValue[] = [];
|
||||||
Array.from(targetElement.parentElement.children).forEach((item: HTMLElement) => {
|
Array.from(targetElement.parentElement.children).forEach((item: HTMLElement) => {
|
||||||
if (item.dataset.content) {
|
if (["image", "file"].includes(item.dataset.type)) {
|
||||||
replaceValue.push({
|
replaceValue.push({
|
||||||
content: item.dataset.content,
|
content: item.dataset.content,
|
||||||
name: item.dataset.name,
|
name: item.dataset.name,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue