mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +01:00
🚨
This commit is contained in:
parent
15f1510d6c
commit
13332781c9
7 changed files with 13 additions and 13 deletions
|
|
@ -137,7 +137,7 @@ const processAV = (range: Range, html: string, protyle: IProtyle, blockElement:
|
|||
}
|
||||
const contenteditableElement = getContenteditableElement(tempElement.content.firstElementChild);
|
||||
if (contenteditableElement && contenteditableElement.childNodes.length === 1 && contenteditableElement.firstElementChild?.getAttribute("data-type") === "block-ref") {
|
||||
const selectCellElement = blockElement.querySelector(".av__cell--select") as HTMLElement
|
||||
const selectCellElement = blockElement.querySelector(".av__cell--select") as HTMLElement;
|
||||
if (selectCellElement) {
|
||||
const avID = blockElement.dataset.avId;
|
||||
const sourceId = contenteditableElement.firstElementChild.getAttribute("data-id");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue