mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 19:38:48 +01:00
This commit is contained in:
parent
803fb6def8
commit
85aca5230e
1 changed files with 2 additions and 2 deletions
|
|
@ -172,8 +172,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
|||
const addRowElement = hasClosestByClassName(event.target, "av__row--add");
|
||||
if (addRowElement) {
|
||||
const avID = blockElement.getAttribute("data-av-id");
|
||||
const srcIDs = [Lute.NewNodeID()]
|
||||
const previousID = addRowElement.getAttribute("data-id") || "", ;
|
||||
const srcIDs = [Lute.NewNodeID()];
|
||||
const previousID = addRowElement.getAttribute("data-id") || "";
|
||||
transaction(protyle, [{
|
||||
action: "insertAttrViewBlock",
|
||||
avID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue