I’m having issues with copying and pasting in the editor. If I copy text from a field to translate it in another app, then copy the translated text to paste it in Anki, Anki always paste the first text. I have to paste another time to get the new text. However, if I inspect what’s in my clipboard or try to paste into another app, I always get the most recently copied text.
I can’t seem to reproduce this, when I paste into the notes app then copy something else from it. Are you using any third-party tools like a clipboard manager?
I’m using Raycast, which can manage the contents of the clipboard. I don’t have this issue with any other applications, though. When I contacted them, they said they hadn’t gotten any other reports of similar problems.
For completeness, you should see if it still happens when you temporarily disable these add-ons with Tools → Add-ons → (click on an add-on line to select it) → Toggle Enabled
I think you have to restart Anki for the change to take effect.
It seems unlikely that the add-ons could be the cause of such problems, but it also seems unlikely that Anki itself could be the cause, so it’s worth testing this.
It’s the built-in Floating Notes. I only used it for demonstration purposes. It doesn’t matter where I copy from (Word, Chrome, Notes…), the issue remains.
What use case are you considering for an Anki extension in Raycast?
Create** (this will behave like Quick Capture in Notion extension)
Create based on the last used note type
Create Cloze
Create Basic
Create Image Occclusion
*Because there is a toggle for Notes and Cards, we could use search to use whatever the current toggle is, if it is toggled Notes, it will search Notes, else, Cards
**Don’t seem like there is arguments support for commands, but didn’t read docs yet, the arguments work similarly to what discord does, example: Remind me
- Reason
- time
the input: remind me to buy groceries, 5d (the argument separator could be comma, dash -…)
Anki relies on clipboard change events to detect when something has been copied outside of it, and it seems that the change event is not being fired in this case. I don’t know whether it’s an issue with Raycast, or the toolkit Anki is built on. Since this is the first report of such an issue, I’m afraid it will be hard to justify spending time on trying to find a workaround for this in the near future.
May we add an issue in GitHub about it @dae ? In case others users find themselves in a similar situation, although the dev from raycast couldn’t replicate the issue in his mac
Using floating notes was just a way for me to demonstrate the issue, though. What I’m actually doing is selecting text in Anki, pressing a shortcut to translate it into English, and then pasting the result in the next field. So switching applications is about as much of a bump in the workflow as pasting, removing, and pasting again.