Open PaulBonnot opened 3 years ago
I recommend that instead of accepting a cardId, that this new endpoint simply call the browser's onTogglePreview(). You can call the existing guiBrowse endpoint with a query to select a particular cardId first.
Seems good to me, so basically there would be a new action guiTogglePreview that would show the preview if in the gui browser.
Hi, is it possible to have an action that given a cardId, asks Anki to preview the card (action available in the card browser) ?