Edit image occlusion cloze

anki snip
Hi

I want to delete the image occclusion cloze c6 with zero height and width without loosing the review data on the other cards
Is it possible ?

As there is no corresponding mask associated with c6, I’m not able to delete it

No simple way, but try this:

  1. Select the card in the browser.
  2. Open the debug console from the main window while keeping the browser open.
  3. Run the following code and copy the output cloze text:
note = bcard().note()
print(note['Occlusion'])
  1. Manually edit the copied text and remove c6.
  2. Run this code after modifying it to use your edited text:
note = bcard().note()
note['Occlusion'] = '''YOUR CLOZE TEXT HERE'''
mw.col.update_note(note)
2 Likes

Thank you!!!
works like a charm:)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.