Vanessa 2023-04-14 12:03:11 +08:00
parent 6fc15a3b6a
commit 62e86cbf04
3 changed files with 107 additions and 63 deletions

View file

@ -343,7 +343,7 @@ export class Title {
label: window.siyuan.languages.spaceRepetition,
click: () => {
fetchPost("/api/riff/getTreeRiffDueCards", {rootID: protyle.block.rootID}, (response) => {
openCardByData(response.data, `<span data-id="${protyle.block.rootID}" class="fn__flex-center">${escapeHtml(this.editElement.textContent)}</span>`);
openCardByData(response.data, "doc", protyle.block.rootID, this.editElement.textContent);
});
}
}, {