AnkiWeb
- Rating
- 5 (👍 5 · 👎 0)
- Updated
- 2019-04-27
- Anki versions
- unknown
- Description language
- en
AnkiWeb addon 2018640062
Prevents Empty Cards from deleting notes that would become cardless, tagging them NoteWithNoCard and opening the browser instead, while removing that tag once they have a card.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | – | 2019-04-27 |
Loading…
Restricts empty-card deletion to new cards only, tags other empty cards, and offers configurable tagging to avoid losing seen-card information.
Removes empty note types in Anki 2.1, repackaged by a third party, with warnings to only batch delete with working backups and use at own risk.
Merge multiple selected notes into one new note with field mapping, separators, cloze removal, tag preservation, optional original deletion, history transfer, undo, and logs.
Shuffles cloze answers or lines on Anki cards, manually or automatically during review, to prevent memorizing answer order, with tag filtering and updated fixes.
Create Anki notes in bulk from JSON or CSV/TSV, with deck, note type, tags, validation, warnings, editing, and creation reports.
Merges or duplicates selected notes and merges duplicate notes, with configurable separators, tag merging, deletion, merge order, reverse order, and partial merge.
Sometime, you press «Empty cards...», and anki also delete note. Because when a note has no more card, anki deletes it. (see [https://github.com/Arthur-Milchior/anki/blob/master/documentation/deletion.md] for more information about deletion)
However, maybe you didn't actually want to delete the whole note and lose its entire content. May be you thought anki were going to delete a few card which became empty, not realizing it will in fact delete EVERY cards, and thus delete the note, and its fields, and its tag...
With this add-on, when you press «Empty cards», cards are deleted as usual, with one exception. If deleting the cards leave the note empty, then the cards are not deleted. Instead, the tag NoteWithNoCard is added to those notes, and the browser is opened to show those notes.
You can still delete those notes if that's what you want, but you have either to disable this add-on and restart anki, or to delete them manually from the browser.
The tag NoteWithNoCard is automatically removed from notes which now have a card, when you use «empty cards». This is probably what you want, so that the tag states the truth.
Note that a note with no cards can also occurs because of the synchronization process. In which card, this add-on won't save the note. Instead, you can save it using add-on 1135180054.
Port by lovac42
This add-on modifies the method aqt.main.AnkiQt.onEmptyCards.
| Key | Value |
|---|---|
| Copyright | Arthur Milchior arthur@milchior.fr |
| Based on | Anki code by Damien Elmes anki@ichi2.net |
| License | GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html |
| Source in | https://github.com/Arthur-Milchior/anki-keep-empty-note |
| Addon number | 2018640062 |