mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 12:20:16 +01:00
This commit is contained in:
parent
48c64f98f4
commit
6d7637850a
7 changed files with 74 additions and 30 deletions
|
|
@ -420,6 +420,7 @@ draggable="true">${genSelectItemHTML("selected", targetId, !target.querySelector
|
|||
const blockID = target.querySelector(".popover__block").getAttribute("data-id");
|
||||
const content = target.querySelector("b").textContent;
|
||||
const rowId = Lute.NewNodeID();
|
||||
const bodyElement = hasClosestByClassName(cellElements[0], "av__body");
|
||||
transaction(protyle, [{
|
||||
action: "insertAttrViewBlock",
|
||||
ignoreFillFilter: true,
|
||||
|
|
@ -430,6 +431,7 @@ draggable="true">${genSelectItemHTML("selected", targetId, !target.querySelector
|
|||
content
|
||||
}],
|
||||
blockID,
|
||||
groupID: bodyElement ? bodyElement.getAttribute("data-group-id") : "",
|
||||
}, {
|
||||
action: "doUpdateUpdated",
|
||||
id: blockID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue