AnkiWeb
- Rating
- 4 (π 4 Β· π 0)
- Updated
- 2019-10-15
- Anki versions
- <=2.1.15
- Description language
- en
AnkiWeb addon 1284221829
Warns if closing the Add Card window with changed sticky-field content; incorporated into Anki 2.1.16 and disabled for 2.1.16 and above.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 2.1.15 | 2019-10-15 |
Loadingβ¦
Closes the add-cards window without the lose-input prompt when only a note ID is present, though it is obsolete for Anki 2.1.28+ and incompatible with some add-ons.
Generates furigana readings for Japanese note types, offers kanji statistics, and enables dictionary lookups in ALC and Edict.
Enables adding and editing Anki notes in extended CommonMark Markdown via editor fields or a separate window, with CodeMirror editing, extensions, and configurable conversion.
Transliterates Indic scripts such as Devanagari into Roman characters and supplies Devanagari note types with automatic reading generation and bulk transliteration.
Lets users customize keyboard shortcuts for Anki's main page, editor, review window, and deck browser through the add-on's Config screen.
Enhances cloze study with text-input fields, TTS playback, floating translation tools, configurable buttons, and visual feedback for correct or hinted answers.
This addon has been incorporated in anki 2.1.16. It is thus disabled for version 2.1.16 and above.
If you try to close the "add card" window, and you have some content, anki warns you and check whether you really want to cloze the window.
Except that it does not takes into accont content in the sticky fields. Probably because, in this case, the content may comes from the last note, and it's not a problem if you lose it.
I want anki to takes sticky fields into account; if the content changed since the last note, then I want to be warned. Otherwise, no trouble, just close the window.
This is exactly what this add-on does; it warns if there is changed content if the sticky field.
This add-on is incompatible with add-on 46741504: Allows empty first field during adding and import.
This add-on change the methods:
aqt.addacrds.AddCards.__init__ and calls the previous methodaqt.addacrds.AddCards.addNote and calls the previous methodaqt.addacrds.AddCards.ifCanCloseaqt.editor.Editor.fieldsAreBlankNone
Create an add-on mixing this one and 46741504
| 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-Close-and-lose-current-input-for-sticky-fields |
| Addon number | 1284221829 |