Skip to content

Fill the blanks New Integration

Ricardo edited this page May 3, 2023 · 2 revisions

The add-on Fill in the blanks is having a major change, with a (almost) completely new integration with Anki.

In this new integration, a distinct filter is used. That is, the add-on won't override the existing type:cloze from Anki. Instead the new filter is: fill-blanks:cloze.

Only in recent versions >= 2.1.60

Why

With this it'll be possible to have both behaviors. That is, the add-on and still the classic type:cloze on the desired cards. Besides that, this makes possible to use the same cards on AnkiDroid (mobile app).
In the app, no add-on works. But then, instead of messing the card up, it'll be shown as a standard cloze.

How to integrate

  • Use cloze note type (like before)
  • In the (NoteType) Template editor, instead of having only cloze:NameOfField, use: fill-blanks:cloze:FieldName (ex: fill-blanks:cloze:Text)

Configuration

Initially this is disabled by default. To enable the new integration, use the config:

  • enable-new-filter: true

Likewise, to disable the older integration, use:

  • override-type-cloze: false

Formatting (Styles)

Still work in progress

  • ftb-md (default)
  • ftb-xs (for very small inputs)
  • ftb-sm (small)
  • ftb-lg (large)