Vanessa 2023-09-28 00:08:58 +08:00
parent f26003f381
commit 26db301a12

View file

@ -162,7 +162,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
path: pathPosix().join(response.data, createDocElement.previousElementSibling.textContent.trim() || "Untitled"),
parentID: protyle.block.rootID,
markdown: "",
id: createDocElement.parentElement.dataset.id,
id: createDocElement.parentElement.dataset.blockId,
}, response => {
transaction(protyle, [{
action: "updateAttrViewCell",