Vanessa 2023-02-19 00:20:18 +08:00
parent b7aab9d2c0
commit d0baada3db
4 changed files with 26 additions and 9 deletions

View file

@ -361,7 +361,7 @@ export class Title {
icon: "iconRiffCard",
click: () => {
fetchPost("/api/riff/getTreeRiffDueCards", {rootID: protyle.block.rootID}, (response) => {
openCardByData(response.data, `<span class="fn__flex-center">${escapeHtml(this.editElement.textContent)}</span>`);
openCardByData(response.data, `<span data-id="${protyle.block.rootID}" class="fn__flex-center">${escapeHtml(this.editElement.textContent)}</span>`);
});
}
}).element);