anki-plugins icon indicating copy to clipboard operation
anki-plugins copied to clipboard

Typebox size + Audio files + High cloze numbers

Open jcznk opened this issue 1 year ago • 0 comments

Hello, first thank you for the great add-on! It really changed my Anki experience for the better.

After some testing, I noticed the following:

  1. The typebox changes size depending on the clozed content length. This is useful as it gives you enough space to type what you need, but it is suboptimal in that it gives you an hint about the answer's length. This sometimes results in you knowing exactly the answer, especially when there are more than 1 clozes in the same card with mutually exclusive answers. I managed to sort of fix this by setting a maximum width in the template's css, but this prevents the typebox from widening when the placeholder is long. By placeholder I mean e.g. {{c1::example::this is a quite long placeholder}}. I tried looking at the add-ons code without much success as my understanding is limited, then managed to find a workaround by removing the typebox's maximum width on mouseover. I think that some native support would be great though.

  2. The add-on does not work well with audio files in the "clozed" field. During reviews, their names appear instead of the replay button. This happens on the front of the card only and can result in the answer being accidentally revealed, e.g.

image You can of course create an extra field for the audio file, but maybe can be addressed without workarounds.

  1. The add-on has problem correctly displaying the front of the card when the note contains many clozes. E.g.

image

jcznk avatar Aug 03 '22 22:08 jcznk