I have a template that had been working pretty efficiently for building up my vocabulary, until the latest version (2.1.46).
It contains fields like:
- word: the wording I want to memorize.
- example: an example sentence to demonstrate the usage.
The example field is optional, because some word’s usage is clear enough that it doesn’t need an example sentence, but when the example field is provided, it contains a cloze marker, so that when the card is displayed, I can use a template like
{{#example}}
<div class="example">{{cloze:example}}</div>
{{/example}}
<div class="definition">{{definition}}</div>
{{type:word}}
to type the word out while hiding the word in the example sentence.
Changing the note type to cloze forces me to provide an example, so I didn’t do that. Previously, I could just use a regular note type with the example field optionally containing a cloze marker, and it would work flawlessly, but after upgrading to the latest version, previous cards still work, but I’m unable to create a new card.
I wonder if it’s possible to somehow change my template to continue supporting this use case, or I was using Anki in the wrong way?