mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 10:14:21 +01:00
This commit is contained in:
parent
dcfa0ac81b
commit
2333dd86dc
1 changed files with 2 additions and 1 deletions
|
|
@ -188,7 +188,8 @@ const processAV = (range: Range, html: string, protyle: IProtyle, blockElement:
|
|||
break;
|
||||
}
|
||||
const cellValue = textJSON[i][j];
|
||||
const operations = await updateCellsValue(protyle, blockElement as HTMLElement, cellValue, [cellElement], columns, tempElement.content.children[i].outerHTML, true);
|
||||
const operations = await updateCellsValue(protyle, blockElement as HTMLElement, cellValue, [cellElement], columns,
|
||||
cellElement.getAttribute("data-dtype") === "mAsset" ? (tempElement.content.children[i * (j + 1) + j]?.outerHTML || "") : html, true);
|
||||
if (operations.doOperations.length > 0) {
|
||||
doOperations.push(...operations.doOperations);
|
||||
undoOperations.push(...operations.undoOperations);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue