Vanessa 2023-09-27 23:13:53 +08:00
parent 803fb6def8
commit 85aca5230e

View file

@ -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,